diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 1993-02-23 23:09:10 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 1993-02-23 23:09:10 +0000 |
commit | 44735512c91eed6880c4de2c01f903c48f6f3013 (patch) | |
tree | f513265f675af050d7fdff318a9bfa04ef418a21 /gcc | |
parent | 4808d7a7f1ecdf59184343795839c1a7fef00c5e (diff) | |
download | gcc-44735512c91eed6880c4de2c01f903c48f6f3013.zip gcc-44735512c91eed6880c4de2c01f903c48f6f3013.tar.gz gcc-44735512c91eed6880c4de2c01f903c48f6f3013.tar.bz2 |
Use relative paths in symbolic links in installed include directory
From-SVN: r3518
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index a3a1946..3c8b3b5 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1588,7 +1588,7 @@ install-headers: install-include-dir $(INSTALL_HEADERS_DIR) install-assert-h dest=`ls -ld $(libsubdir)/include/$$i | sed -n 's/.*-> //p'`; \ if expr "$$dest" : "$$dir.*" > /dev/null; then \ rm -f $(libsubdir)/include/$$i; \ - ln -s $(libsubdir)/include`echo "$$dest" | sed "s|$$dir||"` $(libsubdir)/include/$$i; \ + ln -s `echo $$i | sed "s|/[^/]*|/..|g" | sed 's|/..$$||'``echo "$$dest" | sed "s|$$dir||"` $(libsubdir)/include/$$i; \ fi; \ done; \ fi |