summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-03-28 18:34:38 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-03-28 18:34:38 (GMT)
commitb9468847a2a77ed5d7909a6c0cc9bf2e53a7252f (patch)
treecb32c5c601cb5fb3dbce34196dbbaa410cf5360c /3rdParty/LibIDN
parent2e739049b4581c9547943867cea31ad6b2c3784a (diff)
downloadswift-contrib-b9468847a2a77ed5d7909a6c0cc9bf2e53a7252f.zip
swift-contrib-b9468847a2a77ed5d7909a6c0cc9bf2e53a7252f.tar.bz2
Fix windows compilation.
Diffstat (limited to '3rdParty/LibIDN')
-rw-r--r--3rdParty/LibIDN/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/3rdParty/LibIDN/SConscript b/3rdParty/LibIDN/SConscript
index fad1eba..138db74 100644
--- a/3rdParty/LibIDN/SConscript
+++ b/3rdParty/LibIDN/SConscript
@@ -11,6 +11,8 @@ if env["SCONS_STAGE"] == "flags" :
"LIBPATH": [Dir(".")],
"LIBS": ["IDN"],
}
+ if env["PLATFORM"] == "win32" :
+ env["LIBIDN_FLAGS"]["CPPPATH"] += [Dir("stubs/win32")]
################################################################################
# Build
@@ -42,7 +44,6 @@ if env["SCONS_STAGE"] == "build" :
myenv.Append(CPPPATH = ["src", "stubs"])
if myenv["PLATFORM"] == "win32" :
myenv.Append(CPPPATH = "stubs/win32")
- env["LIBIDN_FLAGS"]["CPPPATH"] += [Dir("stubs/win32")]
myenv.StaticLibrary("IDN", [
"src/stringprep.c",