diff options
author | rezso <rezso@rezso.net> | 2023-10-26 18:46:47 +0200 |
---|---|---|
committer | rezso <rezso@rezso.net> | 2023-10-28 23:36:55 +0200 |
commit | 66eff46e73ad287047bb48bc0214f1f5535d59ed (patch) | |
tree | 5ac0583ac0f8fee6ae28a391cc0ceeb28c8ea3ae | |
parent | 5148e86d09f9f1b1c44587d014e5bcee3bb8c26e (diff) | |
download | usbutils-66eff46e73ad287047bb48bc0214f1f5535d59ed.tar.gz |
Honor system libdir and includedir
Both libdir and includedir are defined by autoconf, use these dirs instead of hardcoded dirs.
Signed-off-by: rezso <rezso@rezso.net>
-rw-r--r-- | usbutils.pc.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usbutils.pc.in b/usbutils.pc.in index d156532..e69778c 100644 --- a/usbutils.pc.in +++ b/usbutils.pc.in @@ -1,7 +1,7 @@ prefix=@prefix@ exec_prefix=@prefix@ -libdir=@prefix@/lib64 -includedir=@prefix@/include +libdir=@libdir@ +includedir=@includedir@ usbids=@datadir@/usb.ids Name: @PACKAGE_NAME@ @@ -13,6 +13,6 @@ Version: @VERSION@ URL: https://github.com/gregkh/usbutils Requires: libusb-1.0 >= 1.0.14 libudev >= 196 Conflicts: -Libs: -L@prefix@/lib64 +Libs: -L${libdir} Libs.private: @LIBUSB_LIBS@ @UDEV_LIBS@ Cflags: @CFLAGS@ @LIBUSB_CFLAGS@ @UDEV_CFLAGS@ |