Commit 233888d3 by Alexandre Oliva Committed by Alexandre Oliva

Makefile.in ($(LIBG2C)): -rpath is glibcpp_toolexeclibdir.

* Makefile.in ($(LIBG2C)): -rpath is glibcpp_toolexeclibdir.
* aclocal.m4 (glibcpp_toolexeclibdir): Instead of
$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
version_specific_libs is enabled.
* configure: Rebuilt.

From-SVN: r61927
parent 13b6e5b4
2003-01-27 Alexandre Oliva <aoliva@redhat.com>
* Makefile.in ($(LIBG2C)): -rpath is glibcpp_toolexeclibdir.
* aclocal.m4 (glibcpp_toolexeclibdir): Instead of
$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
version_specific_libs is enabled.
* configure: Rebuilt.
2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
......
# Makefile for GNU F77 compiler runtime. # Makefile for GNU F77 compiler runtime.
# Copyright (C) 1995-1998, 2001, 2002 Free Software Foundation, Inc. # Copyright (C) 1995-1998, 2001, 2002, 2003 Free Software Foundation, Inc.
# Contributed by Dave Love (d.love@dl.ac.uk). # Contributed by Dave Love (d.love@dl.ac.uk).
# #
#This file is part of GNU Fortran. #This file is part of GNU Fortran.
...@@ -153,7 +153,7 @@ i77 f77 u77: g2c.h ...@@ -153,7 +153,7 @@ i77 f77 u77: g2c.h
$(LIBG2C): s-libi77 s-libf77 s-libu77 s-libe77 $(LIBG2C): s-libi77 s-libf77 s-libu77 s-libe77
$(LIBTOOL) --mode=link $(CC) -o $@ \ $(LIBTOOL) --mode=link $(CC) -o $@ \
-version-info $(VERSION_MAJOR):$(VERSION_MINOR):$(VERSION_SUB) \ -version-info $(VERSION_MAJOR):$(VERSION_MINOR):$(VERSION_SUB) \
-rpath $(libdir)$(MULTISUBDIR) \ -rpath $(glibcpp_toolexeclibdir) \
-objectlist s-libe77 \ -objectlist s-libe77 \
-objectlist s-libf77 \ -objectlist s-libf77 \
-objectlist s-libi77 \ -objectlist s-libi77 \
......
...@@ -207,11 +207,12 @@ if test x"$glibcpp_toolexecdir" = x"no"; then ...@@ -207,11 +207,12 @@ if test x"$glibcpp_toolexecdir" = x"no"; then
if test -n "$with_cross_host" && if test -n "$with_cross_host" &&
test x"$with_cross_host" != x"no"; then test x"$with_cross_host" != x"no"; then
glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)' glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)' glibcpp_toolexeclibdir='$(toolexecdir)/lib'
else else
glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)' glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)' glibcpp_toolexeclibdir='$(libdir)'
fi fi
glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/`$CC -print-multi-os-directory`
fi fi
AC_SUBST(glibcpp_prefixdir) AC_SUBST(glibcpp_prefixdir)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment