From 7f101aeb53566a4724bb25f3550d0fce6b47054c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 20 Dec 2021 20:23:17 +1100 Subject: [PATCH] Update libdns_la_LIBADD rather than libdns_la_LDFLAGS the wrong macro was being update with MAXMINDDB_LIBS making it difficult to adjust link order. (cherry picked from commit 5b516101743a74374e213c1be9693f8567a2c3fc) --- lib/dns/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/Makefile.am b/lib/dns/Makefile.am index c03e938d8e..ef8e9f242e 100644 --- a/lib/dns/Makefile.am +++ b/lib/dns/Makefile.am @@ -300,7 +300,7 @@ endif if HAVE_GEOIP2 libdns_la_CPPFLAGS += \ $(MAXMINDDB_CFLAGS) -libdns_la_LDFLAGS += \ +libdns_la_LIBADD += \ $(MAXMINDDB_LIBS) endif