diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-03-28 15:52:01 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-03-28 15:52:01 (GMT) |
commit | 1b7ef5be1db7b751c0ee383a34b1f5d0006a2e5d (patch) | |
tree | 57a38b46858734e70f1b6176ebe3e4ce057ce4f6 /Limber/SConscript | |
parent | f53a1ef582494458301b97bf6e546be52d7ff7e8 (diff) | |
download | swift-1b7ef5be1db7b751c0ee383a34b1f5d0006a2e5d.zip swift-1b7ef5be1db7b751c0ee383a34b1f5d0006a2e5d.tar.bz2 |
Fixed build.
Diffstat (limited to 'Limber/SConscript')
-rw-r--r-- | Limber/SConscript | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Limber/SConscript b/Limber/SConscript index 7d8c849..e766f97 100644 --- a/Limber/SConscript +++ b/Limber/SConscript @@ -1,11 +1,12 @@ Import("env") -myenv = env.Clone() -myenv.MergeFlags(env["SWIFTEN_FLAGS"]) -myenv.MergeFlags(env["LIBIDN_FLAGS"]) -myenv.MergeFlags(env.get("LIBXML_FLAGS", "")) -myenv.MergeFlags(env.get("EXPAT_FLAGS", "")) -myenv.MergeFlags(env["OPENSSL_FLAGS"]) -myenv.MergeFlags(env["BOOST_FLAGS"]) +if env["SCONS_STAGE"] == "build" : + myenv = env.Clone() + myenv.MergeFlags(env["SWIFTEN_FLAGS"]) + myenv.MergeFlags(env["LIBIDN_FLAGS"]) + myenv.MergeFlags(env.get("LIBXML_FLAGS", "")) + myenv.MergeFlags(env.get("EXPAT_FLAGS", "")) + myenv.MergeFlags(env["OPENSSL_FLAGS"]) + myenv.MergeFlags(env["BOOST_FLAGS"]) -myenv.Program("limber", ["main.cpp"]) + myenv.Program("limber", ["main.cpp"]) |