summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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