--- lib/samples/Makefile.in.org	2020-10-27 03:24:58 +0000
+++ lib/samples/Makefile.in	2020-10-28 00:45:28 +0000
@@ -291,7 +291,7 @@
 LIBIDN2_LIBS = @LIBIDN2_LIBS@
 LIBLTDL = @LIBLTDL@
 LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS = $(LIBISC_LIBS) $(LIBIRS_LIBS) $(LIBDNS_LIBS) @LIBS@
 LIBTOOL = @LIBTOOL@
 LIBUV_CFLAGS = @LIBUV_CFLAGS@
 LIBUV_LIBS = @LIBUV_LIBS@


--- bin/tools/Makefile.in.org	2020-10-28 03:22:40 +0000
+++ bin/tools/Makefile.in	2020-10-28 05:08:42 +0000
@@ -316,7 +316,7 @@
 LIBIDN2_LIBS = @LIBIDN2_LIBS@
 LIBLTDL = @LIBLTDL@
 LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS =  $(LIBISC_LIBS) $(LIBDNS_LIBS) $(LIBBIND9_LIBS) @LIBS@
 LIBTOOL = @LIBTOOL@
 LIBUV_CFLAGS = @LIBUV_CFLAGS@
 LIBUV_LIBS = @LIBUV_LIBS@
--- bin/dnssec/Makefile.in.org	2020-10-28 03:01:20 +0000
+++ bin/dnssec/Makefile.in	2020-10-28 03:05:08 +0000
@@ -334,7 +334,7 @@
 LIBIDN2_LIBS = @LIBIDN2_LIBS@
 LIBLTDL = @LIBLTDL@
 LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS = $(LIBDNS_LIBS) @LIBS@
 LIBTOOL = @LIBTOOL@
 LIBUV_CFLAGS = @LIBUV_CFLAGS@
 LIBUV_LIBS = @LIBUV_LIBS@

--- lib/isccfg/Makefile.in.org	2020-11-26 01:00:52 +0000
+++ lib/isccfg/Makefile.in	2020-11-26 01:01:57 +0000
@@ -164,7 +164,7 @@
   }
 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libisccfg_ladir)"
 LTLIBRARIES = $(lib_LTLIBRARIES)
-libisccfg_la_DEPENDENCIES = $(LIBISC_LIBS) $(LIBDNS_LIBS)
+libisccfg_la_DEPENDENCIES = $(LIBDNS_LIBS) $(LIBISC_LIBS)
 am__objects_1 =
 am_libisccfg_la_OBJECTS = $(am__objects_1) libisccfg_la-aclconf.lo \
 	libisccfg_la-dnsconf.lo libisccfg_la-kaspconf.lo \
@@ -580,8 +580,8 @@
 	$(LIBDNS_CFLAGS)
 
 libisccfg_la_LIBADD = \
-	$(LIBISC_LIBS)	\
-	$(LIBDNS_LIBS)
+	$(LIBDNS_LIBS)	\
+	$(LIBISC_LIBS)
 
 libisccfg_la_LDFLAGS = \
 	$(libisccfg_VERSION_INFO)
