summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-24 22:09:22 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-24 22:09:22 (GMT)
commit8a076855fcec7ee3ab4a26a0402852781f116192 (patch)
treed91a47d5519f050bfbb7a42f1824bf18a0168a7a /BuildTools
parent27231da9654b6e6cd94309fcb349fa66a240b53b (diff)
downloadswift-8a076855fcec7ee3ab4a26a0402852781f116192.zip
swift-8a076855fcec7ee3ab4a26a0402852781f116192.tar.bz2
Added 'dl' library to platform flags.
Diffstat (limited to 'BuildTools')
-rw-r--r--BuildTools/SCons/SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 2d9cc15..772b485 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -327,6 +327,10 @@ else :
if conf.CheckLib("resolv") :
env["PLATFORM_FLAGS"]["LIBS"] = env["PLATFORM_FLAGS"].get("LIBS", []) + ["resolv"]
+if conf.CheckLib("dl") :
+ env["PLATFORM_FLAGS"]["LIBS"] = env["PLATFORM_FLAGS"].get("LIBS", []) + ["dl"]
+
+
if conf.CheckLib("c") :
env["PLATFORM_FLAGS"]["LIBS"] = env["PLATFORM_FLAGS"].get("LIBS", []) + ["c"]