summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-22 22:03:24 +0100
committerCarl Hetherington <cth@carlh.net>2014-10-22 22:03:24 +0100
commit5bf586a64f461f8b5521090e8d34e23ef6f21c1e (patch)
tree3b059b38de63a56b263cd48225fdbd0f28d5a374 /cscript
parent4ada3e7583dfdc658dbebca3c3603be1e3477c12 (diff)
Try to fix build for Win32.
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/cscript b/cscript
index 550c1e1..1b6412f 100644
--- a/cscript
+++ b/cscript
@@ -6,6 +6,8 @@ def build(target, options):
cmd += ' --static'
if target.debug:
cmd += ' --enable-debug'
+ if target.platform == 'windows':
+ cmd += ' --target-windows'
target.command(cmd)
target.command('./waf build install')