diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-10-18 17:27:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-10-18 17:27:40 +0000 |
commit | 9f158fc75a81823f98630bb3108fcd04de9b083d (patch) | |
tree | ccaed9bbfdd08b6cdc9a1bdcfb114ef95ae67815 /Makefile | |
parent | 08da66af7b9dec5da273a71ba72a162dc6fab1b0 (diff) | |
download | ldetect-9f158fc75a81823f98630bb3108fcd04de9b083d.tar ldetect-9f158fc75a81823f98630bb3108fcd04de9b083d.tar.gz ldetect-9f158fc75a81823f98630bb3108fcd04de9b083d.tar.bz2 ldetect-9f158fc75a81823f98630bb3108fcd04de9b083d.tar.xz ldetect-9f158fc75a81823f98630bb3108fcd04de9b083d.zip |
link statically with modprobe.so
(fix quiet mode for now)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |