summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-10-28 21:33:16 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-10-28 21:33:16 (GMT)
commit3d6bfcba7ede52f222369adbb0230f5b51e39dea (patch)
tree53868bf7380add2534fe0e876b618d3fbc567ba7
parent4dc0229196a2f4dca58c3449b8489eabd311b5ce (diff)
downloadswift-3d6bfcba7ede52f222369adbb0230f5b51e39dea.zip
swift-3d6bfcba7ede52f222369adbb0230f5b51e39dea.tar.bz2
Only match against Boost MT library.
-rw-r--r--BuildTools/SCons/SConstruct3
1 files changed, 1 insertions, 2 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 9360827..e241746 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -336,10 +336,9 @@ if boost_prefix :
if env["PLATFORM"] == "win32" :
if os.path.isdir(os.path.join(boost_prefix, "lib")) :
for file in os.listdir(os.path.join(boost_prefix, "lib")) :
- m = re.match("(lib)?boost_signals(-(.*)-(mt|s)-1(.*)).lib", file)
+ m = re.match("(lib)?boost_signals(-(.*)-mt-(s-)?1(.*)).lib", file)
if m :
# Give precedence over the dynamic
- print "Considering " + file
if not boost_win32_libsuffix or "-s-" in boost_win32_libsuffix :
boost_win32_libsuffix = m.group(2)
boost_win32_libprefix = m.group(1) if m.group(1) else ""