summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-12-03 21:51:47 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-12-03 21:51:47 (GMT)
commitfc3e50bfb421348c333d6ed4acd79e5241caf120 (patch)
treee6e09737048f14639ffc94e697c2b3f47ea642c1 /3rdParty/CAres/SConscript
parent7bb6165515c1c1c74b442c1f5461ac641b332893 (diff)
downloadswift-fc3e50bfb421348c333d6ed4acd79e5241caf120.zip
swift-fc3e50bfb421348c333d6ed4acd79e5241caf120.tar.bz2
Tweak CAres flags.
Diffstat (limited to '3rdParty/CAres/SConscript')
-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")])