summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/CAres')
-rw-r--r--3rdParty/CAres/SConscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/3rdParty/CAres/SConscript b/3rdParty/CAres/SConscript
index 2965ee6..9a3c379 100644
--- a/3rdParty/CAres/SConscript
+++ b/3rdParty/CAres/SConscript
@@ -1,5 +1,12 @@
Import("env")
+env["CARES_FLAGS"] = {
+ "CPPDEFINES": ["CARES_STATICLIB"],
+ "CPPPATH": [Dir("src"), Dir(".")],
+ "LIBPATH": [Dir(".")],
+ "LIBS": ["CAres"],
+ }
+
myenv = env.Clone()
myenv.Append(CPPPATH = ["src"])
myenv.Append(CPPDEFINES = [("CARES_STATICLIB")])