projects
/
libsub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc48519
)
Fix windows cscript build.
author
Carl Hetherington
<cth@carlh.net>
Sun, 26 Oct 2014 15:45:49 +0000
(15:45 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 26 Oct 2014 15:45:49 +0000
(15:45 +0000)
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index 03f4bf600b5f959140a484146736a014182b1889..0198ffffb2f6d1916c6851b194cc2da21c7608df 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-4,12
+4,12
@@
def build(target, options):
cmd = './waf configure --prefix=%s' % target.directory
if target.platform == 'linux':
cmd += ' --static'
+ if target.distro == 'centos':
+ cmd += ' --disable-tests'
if target.debug:
cmd += ' --enable-debug'
if target.platform == 'windows':
cmd += ' --target-windows --disable-tests'
- if target.distro == 'centos':
- cmd += ' --disable-tests'
target.command(cmd)
target.command('./waf build install')