diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-28 22:22:37 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-28 22:22:37 +0000 |
| commit | eae4ef1dea28868dd61dab68a37b7ee6d1181036 (patch) | |
| tree | 5385107ae7ea275578dfb653b67718f9c7c4a88f | |
| parent | 87c5f40b33fb7175fdd77cdbb82810baf9b31a00 (diff) | |
Build statically on Linux.
| -rw-r--r-- | cscript | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,8 +1,12 @@ def build(target, options): cmd = './waf configure --prefix=%s ' % target.directory + if target.platform == 'linux': + cmd += ' --static' + elif target.platform == 'windows': + cmd += ' --target-windows' + target.append_with_space('LIBS', '-lboost_system') target.append_with_space('LIBS', '-lboost_filesystem') target.command(cmd) - target.command('./waf') - target.command('./waf install') + target.command('./waf build install') |
