diff options
Diffstat (limited to 'Swiften/Network/SConscript')
-rw-r--r-- | Swiften/Network/SConscript | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Swiften/Network/SConscript b/Swiften/Network/SConscript index 0d0abbd..429ca51 100644 --- a/Swiften/Network/SConscript +++ b/Swiften/Network/SConscript @@ -5,6 +5,10 @@ myenv.MergeFlags(myenv["LIBIDN_FLAGS"]) if myenv.get("HAVE_CARES", False) : myenv.MergeFlags(myenv.get("CARES_FLAGS", {})) +if myenv.get("unbound", False) : + myenv.MergeFlags(myenv.get("UNBOUND_FLAGS", {})) + myenv.MergeFlags(myenv.get("LDNS_FLAGS", {})) + sourceList = [ "HTTPConnectProxiedConnection.cpp", "HTTPConnectProxiedConnectionFactory.cpp", @@ -17,7 +21,7 @@ sourceList = [ "BoostIOServiceThread.cpp", "BOSHConnection.cpp", "BOSHConnectionPool.cpp", - "CachingNameOnlyDomainNameResolver.cpp", + "CachingNameOnlyDomainNameResolver.cpp", "ConnectionFactory.cpp", "ConnectionServer.cpp", "ConnectionServerFactory.cpp", @@ -57,6 +61,9 @@ sourceList = [ if myenv.get("HAVE_CARES", False) : sourceList.append("CAresDomainNameResolver.cpp") + +if myenv.get("unbound", False) : + sourceList.append("UnboundDomainNameResolver.cpp") if myenv["PLATFORM"] == "darwin" : myenv.Append(FRAMEWORKS = ["CoreServices", "SystemConfiguration"]) |