summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-03-28 15:52:01 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-03-28 15:52:01 (GMT)
commit1b7ef5be1db7b751c0ee383a34b1f5d0006a2e5d (patch)
tree57a38b46858734e70f1b6176ebe3e4ce057ce4f6 /Swift/SConscript
parentf53a1ef582494458301b97bf6e546be52d7ff7e8 (diff)
downloadswift-contrib-1b7ef5be1db7b751c0ee383a34b1f5d0006a2e5d.zip
swift-contrib-1b7ef5be1db7b751c0ee383a34b1f5d0006a2e5d.tar.bz2
Fixed build.
Diffstat (limited to 'Swift/SConscript')
-rw-r--r--Swift/SConscript15
1 files changed, 8 insertions, 7 deletions
diff --git a/Swift/SConscript b/Swift/SConscript
index 1460091..8f1fa26 100644
--- a/Swift/SConscript
+++ b/Swift/SConscript
@@ -2,14 +2,15 @@ import datetime
Import("env")
-if not GetOption("help") and not env.get("HAVE_OPENSSL", 0) :
- print "Error: Swift requires OpenSSL support, and OpenSSL was not found."
- Exit(1)
+SConscript("Controllers/SConscript")
+if env["SCONS_STAGE"] == "build" :
+ if not GetOption("help") and not env.get("HAVE_OPENSSL", 0) :
+ print "Error: Swift requires OpenSSL support, and OpenSSL was not found."
+ Exit(1)
-env["SWIFT_VERSION"] = "0.9.9." + datetime.date.today().strftime("%Y%m%d")
-SConscript("Controllers/SConscript")
+ env["SWIFT_VERSION"] = "0.9.9." + datetime.date.today().strftime("%Y%m%d")
-if env["target"] == "native":
- SConscript("QtUI/SConscript")
+ if env["target"] == "native":
+ SConscript("QtUI/SConscript")