summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-04 08:10:19 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-04 08:10:19 +0000
commit99794d92c2b790ac3bfaa1f09a1f0bf5e546ec21 (patch)
tree026015437f0466e42e67794ae0d4864e34019ed2 /Makefile
parent4b4c9c4934b8e975476efa66cc73b8c37571cda6 (diff)
downloadldetect-99794d92c2b790ac3bfaa1f09a1f0bf5e546ec21.tar
ldetect-99794d92c2b790ac3bfaa1f09a1f0bf5e546ec21.tar.gz
ldetect-99794d92c2b790ac3bfaa1f09a1f0bf5e546ec21.tar.bz2
ldetect-99794d92c2b790ac3bfaa1f09a1f0bf5e546ec21.tar.xz
ldetect-99794d92c2b790ac3bfaa1f09a1f0bf5e546ec21.zip
reuse modprobe code in order to resolve modalias (need to be optimized)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2eeb5d5..dbbe2a8 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 $@ $^ -lpci
+ $(CC) -shared -Wl,-soname,$(lib_major) -o $@ $^ -lpci -lmodprobe -lz
$(lib_major): $(lib_major).$(LIB_MINOR)
ln -sf $< $@
libldetect.so: $(lib_major)