projects
/
libsub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aca26b2
)
Fix .pc file on Windows.
author
Carl Hetherington
<cth@carlh.net>
Thu, 23 Oct 2014 09:35:11 +0000
(10:35 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 23 Oct 2014 09:35:11 +0000
(10:35 +0100)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index 81582e68d626209eecefb713390f298f2c089767..df197713cf27e85c36b3ca1b288216cf59a30af4 100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-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')