summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-02-22 06:54:18 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-02-24 23:00:49 +0100
commit4558f140f3b499a05b1ec21af6c175d5d2864a86 (patch)
tree488f0760feae53495438ea97441443d8a28d6687 /Makefile
parent483dae9022b4d4571e018791e84218912dedc407 (diff)
downloadldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.tar
ldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.tar.gz
ldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.tar.bz2
ldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.tar.xz
ldetect-4558f140f3b499a05b1ec21af6c175d5d2864a86.zip
port to hwdb + drop dependency on usb.ids
aka sync with usbutils-008
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 92a9573..5c5ca58 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 -lkmod -lz
+ $(CC) -shared -Wl,-z,relro -Wl,-O1,-soname,$(lib_major) -o $@ $^ -ludev -lpci -lkmod -lz
$(lib_major): $(lib_major).$(LIB_MINOR)
ln -sf $< $@
libldetect.so: $(lib_major)