summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-11-17 08:03:10 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-11-17 08:03:10 (GMT)
commit0fbc0b78e0f12a1700470b9ca3def0f4cdd6a1ff (patch)
tree032a91d6e7a886eaf2363d5330407b75ade67992 /3rdParty/LibIDN/SConscript
parent9c3d535b1dc82ff600862a1210993c362fda9b8e (diff)
downloadswift-contrib-0fbc0b78e0f12a1700470b9ca3def0f4cdd6a1ff.zip
swift-contrib-0fbc0b78e0f12a1700470b9ca3def0f4cdd6a1ff.tar.bz2
Fix build on VS2008
Diffstat (limited to '3rdParty/LibIDN/SConscript')
-rw-r--r--3rdParty/LibIDN/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/3rdParty/LibIDN/SConscript b/3rdParty/LibIDN/SConscript
index eafb2b1..1a8510d 100644
--- a/3rdParty/LibIDN/SConscript
+++ b/3rdParty/LibIDN/SConscript
@@ -15,6 +15,8 @@ if env.get("LIBIDN_BUNDLED", False) :
}
if env["PLATFORM"] == "win32" :
env["LIBIDN_FLAGS"]["CPPPATH"] += [Dir("stubs/win32")]
+ if env["MSVC_VERSION"][:3] == "9.0" :
+ env["LIBIDN_FLAGS"]["CPPPATH"] += [Dir("stubs/win32/VC2008")]
################################################################################
# Build
@@ -46,6 +48,8 @@ if env.get("LIBIDN_BUNDLED", False) :
myenv.Append(CPPPATH = ["src", "stubs"])
if myenv["PLATFORM"] == "win32" :
myenv.Append(CPPPATH = "stubs/win32")
+ if myenv["MSVC_VERSION"][:3] == "9.0" :
+ myenv.Append(CPPPATH = "stubs/win32/VC2008")
myenv.StaticLibrary("IDN", [
"src/stringprep.c",