summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-12-03 21:14:15 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-12-03 21:46:39 (GMT)
commit2f9992298a3470a47a95f0da6940f31be7bf3af5 (patch)
tree706ac8aab984c1f6ae8d86329fad6528c605d102 /3rdParty/CAres/SConscript
parent09308b9a81ddb960c45fc38e3bdf9d45cd1713f7 (diff)
downloadswift-2f9992298a3470a47a95f0da6940f31be7bf3af5.zip
swift-2f9992298a3470a47a95f0da6940f31be7bf3af5.tar.bz2
Fixed ares compilation on os x.
Diffstat (limited to '3rdParty/CAres/SConscript')
-rw-r--r--3rdParty/CAres/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdParty/CAres/SConscript b/3rdParty/CAres/SConscript
index 4c06236..2965ee6 100644
--- a/3rdParty/CAres/SConscript
+++ b/3rdParty/CAres/SConscript
@@ -1,11 +1,12 @@
Import("env")
myenv = env.Clone()
myenv.Append(CPPPATH = ["src"])
myenv.Append(CPPDEFINES = [("CARES_STATICLIB")])
+myenv.Append(CPPPATH = ["src", "."])
if myenv["PLATFORM"] != "win32" :
myenv.Append(CPPDEFINES = ["HAVE_CONFIG_H"])
myenv.StaticLibrary("CAres", [
"src/ares__close_sockets.c",
"src/ares__get_hostent.c",