diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-18 16:32:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-18 16:32:58 +0100 |
| commit | 5a53812dc2a182ccc53cf488a2749386e7df3b9c (patch) | |
| tree | f546961d75586558fa04676690db067542cb0ec9 /cscript | |
| parent | 1162697d2568bd5fa01b62f03916783eeb5d5b50 (diff) | |
Update cscript.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,2 +1,11 @@ -release_targets = ['source'] +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' + elif target.platform == 'osx': + cmd += ' --osx' + target.command(cmd) + target.command('./waf build install') |
