From d2a1d33c03c7400c3f28224f6e9df5b08d3592f8 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 20 Sep 2007 09:35:33 +0000 Subject: [PATCH] - fix source location of libusb libs --- package/libusb/libusb.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk index 7675f23d30..4e06dc8839 100644 --- a/package/libusb/libusb.mk +++ b/package/libusb/libusb.mk @@ -51,9 +51,9 @@ $(STAGING_DIR)/lib/libusb.so: $(LIBUSB_DIR)/.configured $(MAKE) -C $(LIBUSB_DIR) DESTDIR=$(STAGING_DIR) install $(TARGET_DIR)/$(LIBUSB_BINARY): $(STAGING_DIR)/lib/libusb.so - mkdir -p $(TARGET_DIR)/usr/lib - cp -dpf $(STAGING_DIR)/lib/libusb* $(TARGET_DIR)/usr/lib - rm -f $(TARGET_DIR)/usr/lib/*.a $(TARGET_DIR)/usr/lib/*.la + $(INSTALL) -D $(LIBUSB_DIR)/.libs/libusb*.so* $(STAGING_DIR)/usr/lib/ + $(INSTALL) -D $(LIBUSB_DIR)/.libs/libusb*.so* $(TARGET_DIR)/usr/lib/ + $(STRIP) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libusb*.so* libusb: uclibc $(TARGET_DIR)/$(LIBUSB_BINARY)