--- pciutils-2.2.4/lib/configure +++ pciutils-2.2.4/lib/configure @@ -119,7 +119,7 @@ if [ "$zlib" = yes ] ; then echo >>$c '#define PCI_COMPRESSED_IDS' echo >>$c '#define PCI_IDS "pci.ids.gz"' - echo >>$m 'LDFLAGS+=-lz' + echo >>$m 'LDLIBS+=-lz' else echo >>$c '#define PCI_IDS "pci.ids"' fi