summaryrefslogtreecommitdiff
blob: 0bb2d3bf1a1a8cd867111e4fa702c6b1cd7c957b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- pciutils-2.2.4/lib/configure
+++ pciutils-2.2.4/lib/configure
@@ -119,7 +119,7 @@
 	echo >>$c '#define PCI_COMPRESSED_IDS'
 	echo >>$c '#define PCI_IDS "pci.ids.gz"'
 	echo >>$m 'LIBZ=-lz'
-	echo >>$m 'LDFLAGS+=$(LIBZ)'
+	echo >>$m 'LDLIBS+=$(LIBZ)'
 else
 	echo >>$c '#define PCI_IDS "pci.ids"'
 fi