OSDN Git Service

* config/mips/t-slibgcc-irix (SHLIB_LINK): Install a copy of the
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Jan 2005 11:45:54 +0000 (11:45 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Jan 2005 11:45:54 +0000 (11:45 +0000)
library as @multilib_dir@/$(SHLIB_SONAME).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93080 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mips/t-slibgcc-irix

index 666fbfe..186d3d9 100644 (file)
@@ -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.
index 0eac89e..71e5094 100644 (file)
@@ -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 = \