diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-11 12:58:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-11 12:58:45 +0100 |
| commit | 51701447357322a6e76b2ba1c2f3e884e72da51f (patch) | |
| tree | ab5cdc7148ed42f8c0c99b3d9c6565112d094181 /wscript | |
| parent | d5e446291f60eb203796389d4b0f726efca2befe (diff) | |
Enable static build.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4,12 +4,14 @@ VERSION = '0.04pre' def options(opt): opt.load('compiler_cxx') opt.add_option('--target-windows', action='store_true', default = False, help = 'set up to do a cross-compile to Windows') + opt.add_option('--static', action='store_true', default = False, help = 'build statically') def configure(conf): conf.load('compiler_cxx') conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra', '-O2']) conf.env.TARGET_WINDOWS = conf.options.target_windows + conf.env.STATIC = conf.options.static if conf.options.target_windows: boost_lib_suffix = '-mt' |
