mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-11 15:33:03 +00: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.
SVN-Revision: 6784
This commit is contained in:
parent
aef8f80a3a
commit
d651ee4602
@ -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); \
|
||||||
|
Loading…
Reference in New Issue
Block a user