1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 06:53:21 +02:00

Fix portability patch for uClibc.

Certain versions of GNU cp treat -P as --parent, which is wrong here and -P should be implied by -R already.
Fixes build on OSX with fink's fileutils installed.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6784 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-04-01 11:43:11 +00:00
parent ca97dc55d5
commit c6c7fea2b9

View File

@ -23,7 +23,7 @@ Fix portability of build infrastructure
$(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \ $(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
$(PREFIX)$(RUNTIME_PREFIX)lib $(PREFIX)$(RUNTIME_PREFIX)lib
- cp -dRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib - cp -dRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
+ cp -PRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib + cp -pRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
@if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \ @if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \
set -e; \ set -e; \
$(SHELL_SET_X); \ $(SHELL_SET_X); \