summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-01-13 18:30:50 +0000
committerThierry Vignaud <tv@mageia.org>2012-01-13 18:30:50 +0000
commit50439a90f1414fea7eef49974970ffd76ed97908 (patch)
tree09ad0198210fa916f9badf8151ddc62fc6eabaae /Makefile
parent4ae5c282bd5cf845cc6cfe8ddd9a9941d0fba0fe (diff)
downloadldetect-50439a90f1414fea7eef49974970ffd76ed97908.tar
ldetect-50439a90f1414fea7eef49974970ffd76ed97908.tar.gz
ldetect-50439a90f1414fea7eef49974970ffd76ed97908.tar.bz2
ldetect-50439a90f1414fea7eef49974970ffd76ed97908.tar.xz
ldetect-50439a90f1414fea7eef49974970ffd76ed97908.zip
switch from libmodprobe to new libkmod
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3420db5..b958396 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ build: $(binaries) $(libraries)
lspcidrake: lspcidrake.c libldetect.so
$(lib_major).$(LIB_MINOR): $(lib_objs)
- $(CC) -shared -Wl,-z,relro -Wl,-O1,-soname,$(lib_major) -o $@ $^ -lpci -lmodprobe -lz
+ $(CC) -shared -Wl,-z,relro -Wl,-O1,-soname,$(lib_major) -o $@ $^ -lpci -lkmod -lz
$(lib_major): $(lib_major).$(LIB_MINOR)
ln -sf $< $@
libldetect.so: $(lib_major)