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 79aee5b..78416f2 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 -Wl,-Bstatic -lmodprobe -Wl,-Bdynamic -lz
$(lib_major): $(lib_major).$(LIB_MINOR)
ln -sf $< $@
libldetect.so: $(lib_major)
diff --git a/NEWS b/NEWS
index 44a9d02..8ddde4b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
- adapt to new module-init-tools-3.16's API
- add new API for drakx's stage1 in order to find unknown PCI devices
- don't exit(1) on systems without pci (eg: ARM) (rtp)
+- link statically with modprobe.so
Version 0.11.1 - 1 December 2009, Thierry Vignaud