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
master
Felix Fietkau 2007-04-01 11:43:11 +00:00
parent 7d17ba2f44
commit d94667294f
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ Fix portability of build infrastructure
$(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).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 \
set -e; \
$(SHELL_SET_X); \