summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--Makefile2
-rw-r--r--NEWS1
2 files changed, 2 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)
diff --git a/NEWS b/NEWS
index 8547da3..c525809 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- make sure to behave properly on errors in libmodprobe (#3309)
- use saner APIĀ for quieting libmodprobe
+- switch back to dynamically linking against libmodprobe
Version 0.11.2 - 18 October 2011, Thierry Vignaud