mirror of https://github.com/getdnsapi/getdns.git
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:
parent
2414d31951
commit
9acdc1cbb5
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue