projects
/
libsub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bf586a
)
More Win32 fixes.
author
Carl Hetherington
<cth@carlh.net>
Wed, 22 Oct 2014 21:08:27 +0000
(22:08 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 22 Oct 2014 21:08:27 +0000
(22:08 +0100)
test/wscript
patch
|
blob
|
history
diff --git
a/test/wscript
b/test/wscript
index 9c3eb68cc53705173a3c2f27b5678a7f3ad4fcbc..8e9b2a7515cfa278319c51e1adddc36f701eb9be 100644
(file)
--- a/
test/wscript
+++ b/
test/wscript
@@
-1,11
+1,14
@@
def configure(conf):
+ if conf.env.TARGET_WINDOWS:
+ boost_lib_suffix = '-mt'
+
conf.check_cxx(fragment="""
#define BOOST_TEST_MODULE Config test\n
#include <boost/test/unit_test.hpp>\n
int main() {}
""",
msg='Checking for boost unit testing library',
- lib='boost_unit_test_framework
'
,
+ lib='boost_unit_test_framework
%s' % boost_lib_suffix
,
uselib_store='BOOST_TEST')
conf.env.prepend_value('LINKFLAGS', '-Lsrc')