diff options
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/SConscript | 4 | ||||
-rw-r--r-- | Swift/SConscript | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript index 064faab..1b22d49 100644 --- a/Swift/QtUI/SConscript +++ b/Swift/QtUI/SConscript @@ -65,6 +65,10 @@ if env["PLATFORM"] == "win32" : if env["debug"] : myenv.Append(LINKFLAGS = ["/NODEFAULTLIB:msvcrt"]) +if env["PLATFORM"] == "darwin" : + if myenv.get("HAVE_SECURETRANSPORT") : + myenv.Append(CPPDEFINES = "HAVE_SECURETRANSPORT") + myenv.WriteVal("DefaultTheme.qrc", myenv.Value(generateDefaultTheme(myenv.Dir("#/Swift/resources/themes/Default")))) sources = [ diff --git a/Swift/SConscript b/Swift/SConscript index cee3a74..0d0b350 100644 --- a/Swift/SConscript +++ b/Swift/SConscript @@ -5,7 +5,7 @@ Import("env") SConscript("Controllers/SConscript") if env["SCONS_STAGE"] == "build" : - if not GetOption("help") and not env.get("HAVE_OPENSSL", 0) and not env.get("HAVE_SCHANNEL", 0) : + if not GetOption("help") and not env.get("HAVE_OPENSSL", 0) and not env.get("HAVE_SCHANNEL", 0) and not env.get("HAVE_SECURETRANSPORT", 0): print "Error: Swift requires OpenSSL support, and OpenSSL was not found." if "Swift" in env["PROJECTS"] : env["PROJECTS"].remove("Swift") |