diff options
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") |