summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2014-01-29 00:02:59 -0500
committerRJ Ryan <rryan@mixxx.org>2014-01-29 00:02:59 -0500
commit3ce64352ad37e36f7bfd873e96752df61ff12d74 (patch)
tree5b85bf6334d34864ffa7aeeeef4e12e493f9e18f /SConstruct
parentc77675bcee366973f52cb6131f0581d408bc1ae3 (diff)
Fix recent build copying on OS X.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index f64e3c9c9a..f68e07d065 100644
--- a/SConstruct
+++ b/SConstruct
@@ -103,7 +103,9 @@ SConscript(File('src/SConscript'), variant_dir=Dir(build.build_dir), duplicate=0
# For convenience, copy the Mixxx binary out of the build directory to the
# root. Don't do it on windows because the binary can't run on its own and needs
# the DLLs present with it.
-if not build.platform_is_windows:
+if build.platform_is_osx:
+ Command("mixxx", os.path.join(build.build_dir, "Mixxx"), Copy("$TARGET", "$SOURCE"))
+elif not build.platform_is_windows:
Command("mixxx", os.path.join(build.build_dir, "mixxx"), Copy("$TARGET", "$SOURCE"))