diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2006-06-08 07:47:07 +0000 |
---|---|---|
committer | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2006-06-08 07:47:07 +0000 |
commit | 3abe19e38f9ed5d7552debe08b9c7354fad8f3ce (patch) | |
tree | b19f6bf43407c4e03dfe734a6a7763b5e5689888 /Makefile.in | |
parent | ee22bd62979d110d9ca44b3388273717b3454f87 (diff) |
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.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
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); \ |