diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-06-02 20:08:49 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-06-02 20:21:38 (GMT) |
commit | 5e9fdddc3bde73b5eb3b763d01e5b03ec02acae3 (patch) | |
tree | 54bb4fe997270a94cee74bcc702a700328de5c3a /Swiften | |
parent | 23eff5bbb49f1402139065948db7b5b6535d1abd (diff) | |
download | swift-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/SConscript | 6 |
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") |