diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-07 21:55:10 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-07 21:55:10 +0000 |
commit | 925578665aa9e2a380f7a7d7a90015d012f34604 (patch) | |
tree | cfeb36ae7b347b88e6068808c189aa8a48ed21fe /gcc/config/t-linux | |
parent | 4724fbab8d00d262c0caf8535aaf6c46184653e0 (diff) | |
download | gcc-925578665aa9e2a380f7a7d7a90015d012f34604.tar.gz |
* config/t-linux (SHLIB_INSTALL): Double quote slibdir;
fix typo in rm -f.
* config/t-aix43 (SHLIB_INSTALL): Likewise.
* config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
(SHLIB_LINK): Create links for the soname.
* config/mips/t-iris6: Likewise.
* config/sparc/t-slibgcc: Likewise.
* config/sparc/t-slibgcc-sld: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38785 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/t-linux')
-rw-r--r-- | gcc/config/t-linux | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/config/t-linux b/gcc/config/t-linux index 9247a9414cf..cac5d2e936a 100644 --- a/gcc/config/t-linux +++ b/gcc/config/t-linux @@ -16,9 +16,11 @@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \ -o @shlib_base_name@.so @multilib_flags@ @shlib_objs@ -lc && \ rm -f @shlib_base_name@.so.0 && \ $(LN_S) @shlib_base_name@.so @shlib_base_name@.so.0 -SHLIB_INSTALL = $(INSTALL_DATA) @shlib_base_name@.so $(slibdir)/@shlib_base_name@.so.0; \ - rm -f $(slibdir)/@shlib_base_name@; \ - $(LN_S) @shlib_base_name@.so.0 $(slibdir)/@shlib_base_name@.so +# $(slibdir) double quoted to protect it from expansion while building +# libgcc.mk. We want this delayed until actual install time. +SHLIB_INSTALL = $(INSTALL_DATA) @shlib_base_name@.so $$(slibdir)/@shlib_base_name@.so.0; \ + rm -f $$(slibdir)/@shlib_base_name@.so; \ + $(LN_S) @shlib_base_name@.so.0 $$(slibdir)/@shlib_base_name@.so SHLIB_MKMAP = $(srcdir)/mkmap-symver.awk SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver $(srcdir)/config/libgcc-glibc.ver |