From a7da393cfc807048d320ddba8a1c7d24ef23a46e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Wed, 27 Oct 2010 19:28:32 +0200
Subject: Fixed windows compilation issues.


diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 34884e7..5d2f383 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -62,7 +62,7 @@ if env["PLATFORM"] == "darwin" :
 if env["PLATFORM"] == "win32" :
 	env.Tool("WindowsBundle", toolpath = ["#/BuildTools/SCons/Tools"])
 	#So we don't need to escalate with UAC
-	if "TMP" is os.environ.keys() :
+	if "TMP" in os.environ.keys() :
 		env['ENV']['TMP'] = os.environ['TMP'] 
 env.Tool("SLOCCount", toolpath = ["#/BuildTools/SCons/Tools"])
 
@@ -453,7 +453,7 @@ if use_openssl and openssl_conf.CheckCHeader("openssl/ssl.h") :
 	env["HAVE_OPENSSL"] = 1
 	env["OPENSSL_FLAGS"] = openssl_flags
 	if env["PLATFORM"] == "win32" : 
-		env["OPENSSL_FLAGS"]["LIBS"] = ["libeay32MT", "ssleay32MT"]
+		env["OPENSSL_FLAGS"]["LIBS"] = ["libeay32MD", "ssleay32MD"]
 	else:
 		env["OPENSSL_FLAGS"]["LIBS"] = ["ssl", "crypto"]
 elif target in ("iphone-device", "iphone-simulator", "xcode") :
-- 
cgit v0.10.2-6-g49f6