summaryrefslogtreecommitdiff
path: root/package/libusb
diff options
context:
space:
mode:
Diffstat (limited to 'package/libusb')
-rw-r--r--package/libusb/Config.in1
-rw-r--r--package/libusb/libusb.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/libusb/Config.in b/package/libusb/Config.in
index 44a2018c7..f53f2a3a2 100644
--- a/package/libusb/Config.in
+++ b/package/libusb/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_LIBUSB
bool "libusb"
default n
+ select BR2_PACKAGE_PKGCONFIG
help
Userspace library for accessing USB devices
diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk
index adb8b9232..041856232 100644
--- a/package/libusb/libusb.mk
+++ b/package/libusb/libusb.mk
@@ -59,7 +59,7 @@ $(TARGET_DIR)/$(LIBUSB_BINARY): $(STAGING_DIR)/usr/lib/libusb.so
cp -dpf $(STAGING_DIR)/usr/lib/libusb*.so* $(TARGET_DIR)/usr/lib/
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libusb*.so*
-libusb: uclibc $(TARGET_DIR)/$(LIBUSB_BINARY)
+libusb: uclibc pkgconfig $(TARGET_DIR)/$(LIBUSB_BINARY)
libusb-clean:
rm -f $(STAGING_DIR)/bin/libusb-config