summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-11-21 18:47:30 +0000
committerThierry Vignaud <tv@mageia.org>2011-11-21 18:47:30 +0000
commita36f02c611f46e051fc7a63396623e521a093b12 (patch)
tree0df20031a434218a68b16b184f15d95740ee8d61 /Makefile
parenta3987dd5383d2137b559e96fc78f04eb5e1c927a (diff)
downloadldetect-a36f02c611f46e051fc7a63396623e521a093b12.tar
ldetect-a36f02c611f46e051fc7a63396623e521a093b12.tar.gz
ldetect-a36f02c611f46e051fc7a63396623e521a093b12.tar.bz2
ldetect-a36f02c611f46e051fc7a63396623e521a093b12.tar.xz
ldetect-a36f02c611f46e051fc7a63396623e521a093b12.zip
switch back to dynamically linking against libmodprobe
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f3103f7..f0f8f79 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 -Wl,-Bstatic -lmodprobe -Wl,-Bdynamic -lz
+ $(CC) -shared -Wl,-z,relro -Wl,-O1,-soname,$(lib_major) -o $@ $^ -lpci -lmodprobe -lz
$(lib_major): $(lib_major).$(LIB_MINOR)
ln -sf $< $@
libldetect.so: $(lib_major)