Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix detection of __res_query on linux
Baptiste Daroussin committed 7 years ago
commit 4fe78907b51143a3368357ca57c969b80232a6a8
parent 4337ed9
1 file changed +2 -2
modified auto.def
@@ -150,9 +150,9 @@ if {![cc-check-functions dlclose]} {
	}
}

-
if {![cc-check-functions res_query]} {
+
if {![cc-check-functions __res_query]} {
	cc-with { -libs { -lresolv }} {
-
		if {[cc-check-functions res_query]} {
+
		if {[cc-check-functions __res_query]} {
			define-feature LIBRESOLV
		}
	}