diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-26 11:14:56 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-26 11:14:56 +0000 |
| commit | cc4851930c4a0b9919dd8900314cb43b6d54d38b (patch) | |
| tree | a848af4ac8b92e2a73a0d6df6be234091272e9cd /wscript | |
| parent | 32cb7e17f798ff21f613333bdaca1fae1aee3c84 (diff) | |
| parent | 1d112950e8ac61660449adcb211025c728a3e7e0 (diff) | |
Merge branch 'master' of ssh://main.carlh.net/home/carl/git/libsub
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -74,10 +74,15 @@ def configure(conf): def build(bld): create_version_cc(bld, VERSION) + if bld.env.TARGET_WINDOWS: + boost_lib_suffix = '-mt' + else: + boost_lib_suffix = '' + bld(source='libsub.pc.in', version=VERSION, includedir='%s/include' % bld.env.PREFIX, - libs="-L${libdir} -lsub -lboost_system", + libs="-L${libdir} -lsub -lboost_system%s" % boost_lib_suffix, install_path='${LIBDIR}/pkgconfig') bld.recurse('src') |
