summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools')
-rw-r--r--BuildTools/SCons/SConstruct7
1 files changed, 5 insertions, 2 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 3fd093b..81b78a7 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -557,12 +557,15 @@ elif not env["HAVE_SECURETRANSPORT"] :
else :
env["OPENSSL_FLAGS"] = {}
if env["PLATFORM"] == "win32" :
- env["HAVE_SCHANNEL"] = True
# If we're compiling for Windows and OpenSSL isn't being used, use Schannel
- env.Append(LIBS = ["secur32"])
+ env["HAVE_SCHANNEL"] = True
openssl_conf.Finish()
+if env["PLATFORM"] == "win32" :
+ # On Windows link to secur32. It is needed by Swiften/SASL/WindowsAuthentication
+ env.Append(LIBS = ["secur32"])
+
#Hunspell
hunspell_env = conf_env.Clone()
hunspell_prefix = isinstance(env.get("hunspell", False), str) and env["hunspell"] or ""