aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 60932e4..9400689 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ compress: pci.ids.gz usb.ids.gz
gzip -c $< > $@
MISCDIR=/usr/share/misc
-HWDBDIR=/usr/lib/udev/hwdb.d
+HWDBDIR=$(shell pkg-config --variable=udevdir udev)/hwdb.d
DOCDIR=/usr/share/doc/hwids
install-base: compress