diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-24 19:34:49 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-24 19:34:49 (GMT) |
commit | 417563b88a829e2da01c26a8625e22dc4f1cdc51 (patch) | |
tree | 0821f58ab2c93de8b0b2b151be88f861f319a1ee /BuildTools | |
parent | 5507db111fceb9831879fd1efabbbe82266aa0dc (diff) | |
download | swift-contrib-417563b88a829e2da01c26a8625e22dc4f1cdc51.zip swift-contrib-417563b88a829e2da01c26a8625e22dc4f1cdc51.tar.bz2 |
Link against libstdc++.
Diffstat (limited to 'BuildTools')
-rw-r--r-- | BuildTools/SCons/SConstruct | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct index 8ff4f0a..34884e7 100644 --- a/BuildTools/SCons/SConstruct +++ b/BuildTools/SCons/SConstruct @@ -304,6 +304,9 @@ if conf.CheckLib("resolv") : if conf.CheckLib("c") : env["PLATFORM_FLAGS"]["LIBS"] = env["PLATFORM_FLAGS"].get("LIBS", []) + ["c"] +if conf.CheckLib("stdc++") : + env["PLATFORM_FLAGS"]["LIBS"] = env["PLATFORM_FLAGS"].get("LIBS", []) + ["stdc++"] + # LibIDN if conf.CheckCHeader("idna.h") and conf.CheckLib("idn") : env["LIBIDN_FLAGS"] = { "LIBS": ["idn"] } |