summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-12-04 21:49:44 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-12-04 23:52:36 (GMT)
commit897ad55ffee76c9e84ffb174d700f6182a3e7d0b (patch)
treef31e6bd601cf5f1483a3f4ad5e79a492d3a9ca3e /3rdParty
parentc8802e3bef6b73d349a711b187c72aea0a3dd964 (diff)
downloadswift-contrib-897ad55ffee76c9e84ffb174d700f6182a3e7d0b.zip
swift-contrib-897ad55ffee76c9e84ffb174d700f6182a3e7d0b.tar.bz2
Implemented CAresDomainNameResolver.
Diffstat (limited to '3rdParty')
-rw-r--r--3rdParty/CAres/.gitignore1
-rw-r--r--3rdParty/CAres/SConscript8
2 files changed, 8 insertions, 1 deletions
diff --git a/3rdParty/CAres/.gitignore b/3rdParty/CAres/.gitignore
new file mode 100644
index 0000000..a1a869c
--- /dev/null
+++ b/3rdParty/CAres/.gitignore
@@ -0,0 +1 @@
+include
diff --git a/3rdParty/CAres/SConscript b/3rdParty/CAres/SConscript
index 9a3c379..f1bb103 100644
--- a/3rdParty/CAres/SConscript
+++ b/3rdParty/CAres/SConscript
@@ -2,7 +2,7 @@ Import("env")
env["CARES_FLAGS"] = {
"CPPDEFINES": ["CARES_STATICLIB"],
- "CPPPATH": [Dir("src"), Dir(".")],
+ "CPPPATH": [Dir("include")],
"LIBPATH": [Dir(".")],
"LIBS": ["CAres"],
}
@@ -14,6 +14,12 @@ myenv.Append(CPPPATH = ["src", "."])
if myenv["PLATFORM"] != "win32" :
myenv.Append(CPPDEFINES = ["HAVE_CONFIG_H"])
+myenv.Install("include", [
+ "src/ares.h",
+ "src/ares_version.h",
+ "src/ares_build.h",
+ "src/ares_rules.h"
+ ])
myenv.StaticLibrary("CAres", [
"src/ares__close_sockets.c",
"src/ares__get_hostent.c",