cmake: Fix detection of a fully seperate libresolv
authorAndreas Schneider <asn@samba.org>
Wed, 3 Nov 2021 14:12:22 +0000 (15:12 +0100)
committerAndreas Schneider <asn@samba.org>
Wed, 3 Nov 2021 18:11:57 +0000 (19:11 +0100)
commitc75587f858eb49e6b13ab610e63289df0485ddac
tree4c5b0a7d6a828724883f399189eeed2732d902a1
parentc741eabfaad7a611bdb6cb6bac5bbe53ca4582cc
cmake: Fix detection of a fully seperate libresolv

With glibc 2.24 all res_* symbols moved from libresolv to libc. This means
that socket_wrapper is not able to do the traffic to the DNS server. This
leaves us only with DNS faking.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
ConfigureChecks.cmake