summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Maudsley <richard.maudsley@isode.com>2014-07-09 10:00:13 (GMT)
committerSwift Review <review@swift.im>2014-07-29 08:03:46 (GMT)
commit690cb7e85ff9dadbfca3e3bc91826161011712f1 (patch)
tree0692da9133e4a62642ab0a77040e7555cdc5565d /3rdParty/Unbound/SConscript
parent8767caf20b83f5b6e4c52c3818c92a6238e208c4 (diff)
downloadswift-690cb7e85ff9dadbfca3e3bc91826161011712f1.zip
swift-690cb7e85ff9dadbfca3e3bc91826161011712f1.tar.bz2
Fix DNS resolution on Android.
Test-Information: Try accessing local hosts on a local network and make sure that the local DNS server is queried. Change-Id: Ie594b3eed5772c58d46ec1a4435b2df24d6d8212
Diffstat (limited to '3rdParty/Unbound/SConscript')
-rw-r--r--3rdParty/Unbound/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/3rdParty/Unbound/SConscript b/3rdParty/Unbound/SConscript
index 99cd6a3..b0e6f42 100644
--- a/3rdParty/Unbound/SConscript
+++ b/3rdParty/Unbound/SConscript
@@ -32,6 +32,7 @@ if env.get("UNBOUND_BUNDLED", False) :
myenv.Append(CPPPATH = ["../Ldns/src/ldns", "src/unbound", "."])
if env["target"] == "android" :
myenv.Append(CPPPATH = ["src/android/compat", "src/android/config"])
+ myenv.Append(CPPPATH = ["src/android/dns"])
myenv.Append(CPPPATH = ["../Ldns/src/android"])
myenv.UseFlags(env["OPENSSL_FLAGS"])
@@ -105,4 +106,5 @@ if env.get("UNBOUND_BUNDLED", False) :
]
if env["target"] == "android" :
unbound_objects.append("src/android/compat/glob.c")
+ unbound_objects.append("src/android/dns/dns_android.cpp")
env["UNBOUND_OBJECTS"] = myenv.SwiftenObject(unbound_objects)