]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Update libdns_la_LIBADD rather than libdns_la_LDFLAGS
authorMark Andrews <marka@isc.org>
Mon, 20 Dec 2021 09:23:17 +0000 (20:23 +1100)
committerMark Andrews <marka@isc.org>
Wed, 13 Jul 2022 00:46:37 +0000 (10:46 +1000)
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

index c03e938d8e126f38838f0e3d5271ab9e0f5b081b..ef8e9f242ee32cfa5605278f85f77f29df2f4b14 100644 (file)
@@ -300,7 +300,7 @@ endif
 if HAVE_GEOIP2
 libdns_la_CPPFLAGS +=          \
        $(MAXMINDDB_CFLAGS)
-libdns_la_LDFLAGS +=           \
+libdns_la_LIBADD +=            \
        $(MAXMINDDB_LIBS)
 endif