summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2014-11-11 22:25:31 (GMT)
committerSwift Review <review@swift.im>2014-11-12 11:14:32 (GMT)
commit71093bfd86608952aba8debc689499cc738e00ca (patch)
treefb3b474abea98b4f512657a339073a2031d5abb4 /3rdParty/Boost/SConscript
parent4dbd27df03a98d4480ed105b1fb401426aeb9a86 (diff)
downloadswift-71093bfd86608952aba8debc689499cc738e00ca.zip
swift-71093bfd86608952aba8debc689499cc738e00ca.tar.bz2
Link to rt-library when linking against bundled Boost.
Test-Information: Tested on CentOS 6.6 and FreeBSD 10. Did not build before on CentOS. Change-Id: I4ab4e283a0d951a9776ba89ab921d8c31e9c9ec4
Diffstat (limited to '3rdParty/Boost/SConscript')
-rw-r--r--3rdParty/Boost/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/3rdParty/Boost/SConscript b/3rdParty/Boost/SConscript
index 7322e99..c1eac82 100644
--- a/3rdParty/Boost/SConscript
+++ b/3rdParty/Boost/SConscript
@@ -43,6 +43,8 @@ elif env.get("BOOST_BUNDLED", False) :
env["BOOST_FLAGS"]["CPPDEFINES"] += [("_WIN32_WINNT", "_WIN32_WINNT_VISTA")]
if env["PLATFORM"] == "cygwin" :
env["BOOST_FLAGS"]["CPPDEFINES"] += ["__USE_W32_SOCKETS"]
+ elif env["PLATFORM"] == "posix" :
+ env["BOOST_FLAGS"]["LIBS"] += ["rt"]
################################################################################
# Build