summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-26 13:48:16 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-26 13:48:16 +0000
commit5dbdaf465c4d848dce965706616d9bfbf38f2bbe (patch)
treed55930e18bc10c9636c3fb5e7d82b5546dbd4f5c /Makefile
parent6f030aabed59d4e1c9f1217838d0344c5757bba6 (diff)
downloadldetect-5dbdaf465c4d848dce965706616d9bfbf38f2bbe.tar
ldetect-5dbdaf465c4d848dce965706616d9bfbf38f2bbe.tar.gz
ldetect-5dbdaf465c4d848dce965706616d9bfbf38f2bbe.tar.bz2
ldetect-5dbdaf465c4d848dce965706616d9bfbf38f2bbe.tar.xz
ldetect-5dbdaf465c4d848dce965706616d9bfbf38f2bbe.zip
switch to pciutils as PCI listing backend
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1e83ae9..b936ca0 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ build: $(binaries) $(libraries)
lspcidrake: lspcidrake.c libldetect.so
$(lib_major).$(LIB_MINOR): common.o pciusb.o pci.o usb.o pciclass.o usbclass.o dmi.o
- $(CC) -shared -Wl,-soname,$(lib_major) -o $@ $^
+ $(CC) -shared -Wl,-soname,$(lib_major) -o $@ $^ -lpci
$(lib_major): $(lib_major).$(LIB_MINOR)
ln -sf $< $@
libldetect.so: $(lib_major)