summaryrefslogtreecommitdiffstats
path: root/package/libusb
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-02-15 14:06:39 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-02-15 14:06:39 +0000
commit65659f38f31e3fed123cdd18475843d74afa191e (patch)
tree45605be2a36d9457e7d5b966e855104a01228605 /package/libusb
parent54255463b27e650d0717a33ae0cedac66863eb93 (diff)
downloadbuildroot-novena-65659f38f31e3fed123cdd18475843d74afa191e.tar.gz
buildroot-novena-65659f38f31e3fed123cdd18475843d74afa191e.zip
libusb: install into target with cp instead of install to preserve symlinks
Diffstat (limited to 'package/libusb')
-rw-r--r--package/libusb/libusb.mk3
1 files changed, 1 insertions, 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)