summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-10 21:55:53 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-10 21:55:53 (GMT)
commitd721b7a3d6314731c120cf77722572cb28570992 (patch)
tree03bff26ba77a0b00d749fbe24369ea9103ff55d8
parent701843a2ee1ef8d40097a8d3682c725348807a76 (diff)
downloadswift-contrib-d721b7a3d6314731c120cf77722572cb28570992.zip
swift-contrib-d721b7a3d6314731c120cf77722572cb28570992.tar.bz2
Fix OpenSSL building on default OpenSSL detection.
-rw-r--r--SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index c5f8506..aeccfd2 100644
--- a/SConstruct
+++ b/SConstruct
@@ -144,6 +144,7 @@ if not env.get("HAVE_EXPAT", 0) :
# OpenSSL
openssl_env = conf_env.Clone()
openssl_prefix = GetOption("openssl_prefix")
+openssl_flags = {}
if openssl_prefix :
openssl_flags = { "CPPPATH": [os.path.join(openssl_prefix, "include")] }
if env["PLATFORM"] == "win32" :