diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-25 00:25:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-25 00:25:31 +0100 |
| commit | 5ff4c60f4982ec44d34e4cf0d04cab574a76883b (patch) | |
| tree | 6ac00136026fd4795e1601afd3b0b0215f6492c0 /cscript | |
| parent | 948069a23d9c1b2a97d1f3d6a2c856396de205e3 (diff) | |
Fix cscript again.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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') |
