summaryrefslogtreecommitdiffstats
path: root/package/libusb
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-14 21:01:16 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-14 21:01:16 +0000
commit565e05c8a18ecb7ffff0018b598218d32399d8b7 (patch)
treea49e24c47e431bcb1de31bb6bd350bec74b7a457 /package/libusb
parent43f18ea31c3447da516bfad8d81c6490a93d9411 (diff)
downloadbuildroot-novena-565e05c8a18ecb7ffff0018b598218d32399d8b7.tar.gz
buildroot-novena-565e05c8a18ecb7ffff0018b598218d32399d8b7.zip
packages: fix pkgconfig depencies and select pkgconfig where needed
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