diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-02-15 14:06:39 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-02-15 14:06:39 +0000 |
commit | 65659f38f31e3fed123cdd18475843d74afa191e (patch) | |
tree | 45605be2a36d9457e7d5b966e855104a01228605 /package/libusb/libusb.mk | |
parent | 54255463b27e650d0717a33ae0cedac66863eb93 (diff) |
libusb: install into target with cp instead of install to preserve symlinks
Diffstat (limited to 'package/libusb/libusb.mk')
-rw-r--r-- | package/libusb/libusb.mk | 3 |
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) |