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.

SVN-Revision: 6784
This commit is contained in:
Felix Fietkau 2007-04-01 11:43:11 +00:00
parent aef8f80a3a
commit d651ee4602

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); \