summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/CAres')
-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",