summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-10 20:30:13 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-10 20:30:30 (GMT)
commit7459eb89d67db4d1245603b3c7cde1140a999474 (patch)
treed9c9418f3f21fe342c5e492719e0f246e026f41d /3rdParty
parent2cf66be04453bb212948e720d08dca4cfa96b35c (diff)
downloadswift-contrib-7459eb89d67db4d1245603b3c7cde1140a999474.zip
swift-contrib-7459eb89d67db4d1245603b3c7cde1140a999474.tar.bz2
Fix SCons build on windows.
Diffstat (limited to '3rdParty')
-rw-r--r--3rdParty/LibIDN/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdParty/LibIDN/SConscript b/3rdParty/LibIDN/SConscript
index 9e408ff..5853a85 100644
--- a/3rdParty/LibIDN/SConscript
+++ b/3rdParty/LibIDN/SConscript
@@ -1,4 +1,4 @@
-Import("env")
+Import(["env", "conf_env"])
env["LIBIDN_FLAGS"] = {
"CPPDEFINES": ["IDNA_STATIC"],
@@ -13,7 +13,7 @@ myenv = env.Clone()
myenv.Replace(CCFLAGS = [flag for flag in env["CCFLAGS"] if flag not in ["-W", "-Wall"]])
# Check for strcasecmp() or replacement
-conf = Configure(myenv)
+conf = Configure(conf_env)
if not conf.CheckFunc('strcasecmp') :
if conf.CheckFunc("stricmp") :
myenv.Append(CPPDEFINES = [("strcasecmp", "stricmp")])