diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-02-24 22:09:22 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-02-24 22:09:22 (GMT) |
commit | 8a076855fcec7ee3ab4a26a0402852781f116192 (patch) | |
tree | d91a47d5519f050bfbb7a42f1824bf18a0168a7a | |
parent | 27231da9654b6e6cd94309fcb349fa66a240b53b (diff) | |
download | swift-8a076855fcec7ee3ab4a26a0402852781f116192.zip swift-8a076855fcec7ee3ab4a26a0402852781f116192.tar.bz2 |
Added 'dl' library to platform flags.
-rw-r--r-- | BuildTools/SCons/SConstruct | 4 |
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"] |