Resolv.conf location mustn't have prefix. It's so the library can find the system resolver.

If you add a prefix, getdns doesn't get any upstreams configured and test failures abound.
This commit is contained in:
Jim Hague 2019-10-23 18:28:54 +01:00
parent 2414d31951
commit 9acdc1cbb5
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ set(HAVE_TARGET_ENDIANNESS 1)
# File locations
set(TRUST_ANCHOR_FILE "${CMAKE_INSTALL_FULL_SYSCONF_DIR}/unbound/getdns-root.key")
set(GETDNS_FN_RESOLVCONF "${CMAKE_INSTALL_FULL_SYSCONF_DIR}/resolv.conf")
set(GETDNS_FN_RESOLVCONF "/etc/resolv.conf")
if (WIN32)
# BUG! Don't hardcode the Windows directory and drive.
set(GETDNS_FN_HOSTS "C:/Windows/System32/Drivers/etc/hosts")