diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-23 10:35:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-23 10:35:11 +0100 |
| commit | 1d112950e8ac61660449adcb211025c728a3e7e0 (patch) | |
| tree | e10954f1e87e32513385f3555448e60798251935 /wscript | |
| parent | aca26b2df02841b93203df9ca9b18bdc62a3ffbb (diff) | |
Fix .pc file on Windows.
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') |
