From: Peter Korsgaard Date: Fri, 15 Feb 2008 14:06:39 +0000 (-0000) Subject: libusb: install into target with cp instead of install to preserve symlinks X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65659f38f31e3fed123cdd18475843d74afa191e;p=buildroot.git libusb: install into target with cp instead of install to preserve symlinks --- diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk index 8eb3b28869..88f3e2896c 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)