Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix detection of __res_query on linux
Baptiste Daroussin committed 7 years ago
commit 4fe78907b51143a3368357ca57c969b80232a6a8
parent 4337ed97370a02ff47148dc199b240669bb74e21
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
		}
	}