projects
/
libcxml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cscript tweak.
[libcxml.git]
/
cscript
diff --git
a/cscript
b/cscript
index aa9f18c26816ba37ff4ff790d9abec9932a44f3f..f1063c75b2ae291d685f8fb67650ab3a01073ed1 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-1,9
+1,10
@@
-
-def build(env, target):
- cmd = './waf configure --prefix=%s' % env.work_dir_cscript()
+def build(target):
+ cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
if target.platform == 'linux':
cmd += ' --static'
elif target.platform == 'windows':
cmd += ' --target-windows'
if target.platform == 'linux':
cmd += ' --static'
elif target.platform == 'windows':
cmd += ' --target-windows'
- env.command(cmd)
- env.command('./waf build install')
+ elif target.platform == 'osx':
+ cmd += ' --osx'
+ target.command(cmd)
+ target.command('./waf build install')