t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR) to $$(slibdir) in the installation commands.

* config/sh/t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR)
	to $$(slibdir) in the installation commands.

From-SVN: r77371
This commit is contained in:
SUGIOKA Toshinobu 2004-02-06 14:02:46 +09:00 committed by Kaz Kojima
parent 403c659ca6
commit f4954ff18f
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2004-02-05 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
* config/sh/t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR)
to $$(slibdir) in the installation commands.
2004-02-05 David Edelsohn <edelsohn@gnu.org>
* reload.c (refers_to_regno_for_reload_p): Index hard_regno_nregs

View File

@ -27,9 +27,9 @@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
echo "GROUP ( $(SHLIB_SONAME) libgcc.a )" \
) > $(SHLIB_SOLINK)
SHLIB_INSTALL = \
$$(SHELL) $$(srcdir)/mkinstalldirs $$(slibdir)$(SHLIB_SLIBDIR_QUAL); \
$$(SHELL) $$(srcdir)/mkinstalldirs $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL); \
$(INSTALL_DATA) $(SHLIB_NAME) \
$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SONAME); \
rm -f $$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK); \
$$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SONAME); \
rm -f $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK); \
$(INSTALL_DATA) $(SHLIB_SOLINK) \
$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)
$$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)