From 3abe19e38f9ed5d7552debe08b9c7354fad8f3ce Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Thu, 8 Jun 2006 07:47:07 +0000 Subject: Use tar rather than cp to copy all files matching *.so.* from the lib directory to $(PREFIX)$(RUNTIME_PREFIX)lib. The reason for this is that cp -P means wildly different things depending on the version of cp. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 1404ca6b3..45c0c916a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -253,7 +253,7 @@ ifeq ($(HAVE_SHARED),y) $(INSTALL) -d $(PREFIX)$(RUNTIME_PREFIX)lib $(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \ $(PREFIX)$(RUNTIME_PREFIX)lib - cp -PRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib + cd lib && $(TAR) -cf - *.so.* | $(TAR) -xf - -C $(PREFIX)$(RUNTIME_PREFIX)lib @if [ -x lib/$(UCLIBC_LDSO_NAME)-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \ set -e; \ $(SHELL_SET_X); \ -- cgit v1.2.3