Add windows runtime link that seems to be needed with newer mingw.
authorCarl Hetherington <cth@carlh.net>
Thu, 22 Nov 2012 21:07:52 +0000 (21:07 +0000)
committerCarl Hetherington <cth@carlh.net>
Thu, 22 Nov 2012 21:07:52 +0000 (21:07 +0000)
wscript

diff --git a/wscript b/wscript
index 8de94321ffef9055469c2ba1374900a6a72a7f1f..b1fbc4b48b84c40479f55ac8ab9a98773f7ed500 100644 (file)
--- a/wscript
+++ b/wscript
@@ -19,6 +19,7 @@ def configure(conf):
 
     if conf.options.target_windows:
         conf.env.append_value('CXXFLAGS', '-DLIBDCP_WINDOWS')
+        conf.env.append_value('LIB', 'msvcr100')
     else:
         conf.env.append_value('CXXFLAGS', '-DLIBDCP_POSIX')