From 65659f38f31e3fed123cdd18475843d74afa191e Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 15 Feb 2008 14:06:39 +0000 Subject: libusb: install into target with cp instead of install to preserve symlinks --- package/libusb/libusb.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk index 8eb3b2886..88f3e2896 100644 --- a/package/libusb/libusb.mk +++ b/package/libusb/libusb.mk @@ -56,8 +56,7 @@ $(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 - $(INSTALL) -D $(LIBUSB_DIR)/.libs/libusb*.so* $(STAGING_DIR)/usr/lib/ - $(INSTALL) -D $(LIBUSB_DIR)/.libs/libusb*.so* $(TARGET_DIR)/usr/lib/ + 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) -- cgit v1.2.3