summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-25 00:25:31 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-25 00:25:31 +0100
commit5ff4c60f4982ec44d34e4cf0d04cab574a76883b (patch)
tree6ac00136026fd4795e1601afd3b0b0215f6492c0 /cscript
parent948069a23d9c1b2a97d1f3d6a2c856396de205e3 (diff)
Fix cscript again.
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/cscript b/cscript
index 5f2d151..aa9f18c 100644
--- a/cscript
+++ b/cscript
@@ -1,7 +1,9 @@
def build(env, target):
cmd = './waf configure --prefix=%s' % env.work_dir_cscript()
- if target.platform == 'windows':
+ if target.platform == 'linux':
+ cmd += ' --static'
+ elif target.platform == 'windows':
cmd += ' --target-windows'
env.command(cmd)
env.command('./waf build install')