summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-03-05 09:42:35 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-03-05 09:42:35 (GMT)
commit8cdfd96779722099e98aad3d9f2e66dfcb7e281a (patch)
tree377837ae73e340c1ccb1b93739257de92b11575c /3rdParty/Boost
parentf310de4bc115a724b0e9de520707607095f6b16e (diff)
downloadswift-contrib-8cdfd96779722099e98aad3d9f2e66dfcb7e281a.zip
swift-contrib-8cdfd96779722099e98aad3d9f2e66dfcb7e281a.tar.bz2
Detect pthread for platform flags.
Diffstat (limited to '3rdParty/Boost')
-rw-r--r--3rdParty/Boost/SConscript4
1 files changed, 1 insertions, 3 deletions
diff --git a/3rdParty/Boost/SConscript b/3rdParty/Boost/SConscript
index 86871fd..3c815b6 100644
--- a/3rdParty/Boost/SConscript
+++ b/3rdParty/Boost/SConscript
@@ -39,9 +39,7 @@ elif env.get("BOOST_BUNDLED", False) :
"LIBPATH": [Dir(".")],
"LIBS": ["Swiften_Boost"]
}
- if env["PLATFORM"] != "win32" :
- env["BOOST_FLAGS"]["LIBS"] += ["pthread"]
- else :
+ if env["PLATFORM"] == "win32" :
env["BOOST_FLAGS"]["CPPDEFINES"] += [("_WIN32_WINNT", "0x0501")]
if env["PLATFORM"] == "cygwin" :
env["BOOST_FLAGS"]["CPPDEFINES"] += ["__USE_W32_SOCKETS"]