Fix configure on OS X
authorCarl Hetherington <cth@carlh.net>
Fri, 7 Jun 2013 09:01:55 +0000 (10:01 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 7 Jun 2013 09:01:55 +0000 (10:01 +0100)
cscript

diff --git a/cscript b/cscript
index 9aea4e877bc7a891441787dc40baba8754f60c0a..87e7551e46a826bd298c16511472779128dc5423 100644 (file)
--- a/cscript
+++ b/cscript
@@ -14,6 +14,8 @@ def build(env, target):
     cmd = './waf configure --prefix=%s' % env.work_dir_cscript()
     if target.platform == 'windows':
         cmd += ' --target-windows'
+    else if target.platform == 'osx':
+       cmd += ' --osx'
     else if target.platform == 'linux':
         cmd += ' --static'
     env.command(cmd)