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.
This commit is contained in:
Mark Andrews 2021-12-20 20:23:17 +11:00
parent 47bf1e95ad
commit 5b51610174

View file

@ -298,7 +298,7 @@ endif
if HAVE_GEOIP2
libdns_la_CPPFLAGS += \
$(MAXMINDDB_CFLAGS)
libdns_la_LDFLAGS += \
libdns_la_LIBADD += \
$(MAXMINDDB_LIBS)
endif