diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-03-05 09:46:39 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-03-05 09:46:39 (GMT) |
commit | 3cc102d61a883b4d76662f8e4e53d10142f061e0 (patch) | |
tree | 7efcd77f76782e63871d6b23e02a134105dbd544 /BuildTools/SCons | |
parent | 8cdfd96779722099e98aad3d9f2e66dfcb7e281a (diff) | |
download | swift-contrib-3cc102d61a883b4d76662f8e4e53d10142f061e0.zip swift-contrib-3cc102d61a883b4d76662f8e4e53d10142f061e0.tar.bz2 |
Detect libmath.
Diffstat (limited to 'BuildTools/SCons')
-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 9b50071..cb248a5 100644 --- a/BuildTools/SCons/SConstruct +++ b/BuildTools/SCons/SConstruct @@ -338,6 +338,9 @@ if env["PLATFORM"] != "win32" : if conf.CheckLib("dl") : env["PLATFORM_FLAGS"]["LIBS"] = env["PLATFORM_FLAGS"].get("LIBS", []) + ["dl"] +if conf.CheckLib("m") : + env["PLATFORM_FLAGS"]["LIBS"] = env["PLATFORM_FLAGS"].get("LIBS", []) + ["m"] + if conf.CheckLib("c") : env["PLATFORM_FLAGS"]["LIBS"] = env["PLATFORM_FLAGS"].get("LIBS", []) + ["c"] |