summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
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')