projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5425546
)
libusb: install into target with cp instead of install to preserve symlinks
author
Peter Korsgaard
<jacmet@sunsite.dk>
Fri, 15 Feb 2008 14:06:39 +0000
(14:06 -0000)
committer
Peter Korsgaard
<jacmet@sunsite.dk>
Fri, 15 Feb 2008 14:06:39 +0000
(14:06 -0000)
package/libusb/libusb.mk
patch
|
blob
|
history
diff --git
a/package/libusb/libusb.mk
b/package/libusb/libusb.mk
index 8eb3b2886958a1a6c0792582c5ac0f9dab2b48b1..88f3e2896cae13122b8dd0c94884557723ebf2f8 100644
(file)
--- 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)