Control: tags -1 + patch

Dear maintainer,

the attached patch fixes the FTBFS with GCC 9.
I moved the linked library irs-export from LDFLAGS to LIBS, so that
it will appear in the correct place on the command line.

Kind regards,
  Reiner
diff -Nru isc-dhcp-4.4.1/debian/rules isc-dhcp-4.4.1/debian/rules
--- isc-dhcp-4.4.1/debian/rules	2018-11-18 07:13:45.000000000 +0100
+++ isc-dhcp-4.4.1/debian/rules	2019-10-04 14:59:04.000000000 +0200
@@ -45,7 +45,7 @@
 override_dh_auto_build:
 	# ldap-enabled build
 	test -f Makefile && $(MAKE) distclean || true
-	./configure --with-ldap --with-ldapcrypto CFLAGS="$(CFLAGS) -DNSUPDATE" LDFLAGS="-lirs-export $(LDFLAGS)" $(CONFFLAGS)
+	./configure --with-ldap --with-ldapcrypto CFLAGS="$(CFLAGS) -DNSUPDATE" LIBS="-lirs-export $(LIBS)" $(CONFFLAGS)
 	$(MAKE)
 	mv server/dhcpd dhcpd
 	# ddns-disabled build
@@ -55,7 +55,7 @@
 	mv client/dhclient dhclient
 	# ldap-disabled build
 	test -f Makefile && $(MAKE) distclean || true
-	./configure CFLAGS="$(CFLAGS) -DNSUPDATE" LDFLAGS="-lirs-export $(LDFLAGS)" $(CONFFLAGS)
+	./configure CFLAGS="$(CFLAGS) -DNSUPDATE" LIBS="-lirs-export $(LIBS)" $(CONFFLAGS)
 	$(MAKE)
 
 override_dh_install:

Attachment: signature.asc
Description: PGP signature

Reply via email to