aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2005-01-08 11:45:54 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2005-01-08 11:45:54 +0000
commit943cb1d06fb8a8c4229144f3c19cd3d3d32e96c7 (patch)
treee87034bbb66139cde5355cf1f80c286da2f88863
parent1b5c01520e425c801a014016f921eb804397f0a4 (diff)
downloadgcc-943cb1d06fb8a8c4229144f3c19cd3d3d32e96c7.zip
gcc-943cb1d06fb8a8c4229144f3c19cd3d3d32e96c7.tar.gz
gcc-943cb1d06fb8a8c4229144f3c19cd3d3d32e96c7.tar.bz2
t-slibgcc-irix (SHLIB_LINK): Install a copy of the library as @multilib_dir@/$(SHLIB_SONAME).
* config/mips/t-slibgcc-irix (SHLIB_LINK): Install a copy of the library as @multilib_dir@/$(SHLIB_SONAME). From-SVN: r93080
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/t-slibgcc-irix4
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 666fbfe..186d3d9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-08 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/mips/t-slibgcc-irix (SHLIB_LINK): Install a copy of the
+ library as @multilib_dir@/$(SHLIB_SONAME).
+
2005-01-07 Eric Botcazou <ebotcazou@libertysurf.fr>
* configure.ac (HAVE_AS_OFFSETABLE_LO10): Fix typo.
diff --git a/gcc/config/mips/t-slibgcc-irix b/gcc/config/mips/t-slibgcc-irix
index 0eac89e..71e5094 100644
--- a/gcc/config/mips/t-slibgcc-irix
+++ b/gcc/config/mips/t-slibgcc-irix
@@ -18,7 +18,9 @@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
mv -f $(SHLIB_NAME) $(SHLIB_NAME).backup; \
else true; fi && \
mv $(SHLIB_NAME).tmp $(SHLIB_NAME) && \
- $(LN_S) $(SHLIB_NAME) $(SHLIB_SOLINK)
+ $(LN_S) $(SHLIB_NAME) $(SHLIB_SOLINK) && \
+ { test "@multilib_dir@" = "." || \
+ $(INSTALL_DATA) $(SHLIB_NAME) @multilib_dir@/$(SHLIB_SONAME); }
# $(slibdir) double quoted to protect it from expansion while building
# libgcc.mk. We want this delayed until actual install time.
SHLIB_INSTALL = \