summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-06-02 20:08:49 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-06-02 20:21:38 (GMT)
commit5e9fdddc3bde73b5eb3b763d01e5b03ec02acae3 (patch)
tree54bb4fe997270a94cee74bcc702a700328de5c3a /Swiften
parent23eff5bbb49f1402139065948db7b5b6535d1abd (diff)
downloadswift-5e9fdddc3bde73b5eb3b763d01e5b03ec02acae3.zip
swift-5e9fdddc3bde73b5eb3b763d01e5b03ec02acae3.tar.bz2
Don't build C-Ares.
We don't use it yet.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Network/SConscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Network/SConscript b/Swiften/Network/SConscript
index 937ab0c..b4946f9 100644
--- a/Swiften/Network/SConscript
+++ b/Swiften/Network/SConscript
@@ -2,8 +2,8 @@ Import("swiften_env")
myenv = swiften_env.Clone()
myenv.MergeFlags(myenv["LIBIDN_FLAGS"])
-if myenv["target"] == "native":
- myenv.MergeFlags(myenv["CARES_FLAGS"])
+if myenv.get("HAVE_CARES", False) :
+ myenv.MergeFlags(myenv.get("CARES_FLAGS", {}))
sourceList = [
"BoostConnection.cpp",
@@ -26,7 +26,7 @@ sourceList = [
"HostAddress.cpp",
"Timer.cpp",
"BoostTimer.cpp"]
-if myenv["target"] == "native":
+if myenv.get("HAVE_CARES", False) :
sourceList.append("CAresDomainNameResolver.cpp")