summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Limber/SConscript')
-rw-r--r--Limber/SConscript17
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"])