diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-02-15 19:00:54 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-02-15 19:00:54 +0000 |
commit | 1a2f3c3f1f48a069ecafa50fe7ab81e0718270c9 (patch) | |
tree | 7067f73a3bb392aa8e88b802d7f911712403044d /gas/configure | |
parent | 5c7516eee0beffb52e5796675cad5dfd0bf8f6f9 (diff) | |
download | gdb-1a2f3c3f1f48a069ecafa50fe7ab81e0718270c9.zip gdb-1a2f3c3f1f48a069ecafa50fe7ab81e0718270c9.tar.gz gdb-1a2f3c3f1f48a069ecafa50fe7ab81e0718270c9.tar.bz2 |
* configure: Set and substitute RPATH_ENVVAR.
* configure: Rebuild.
* Makefile.in (RPATH_ENVVAR): New variable.
(check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
Diffstat (limited to 'gas/configure')
-rwxr-xr-x | gas/configure | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/configure b/gas/configure index 11e5418..c88acf3 100755 --- a/gas/configure +++ b/gas/configure @@ -2118,11 +2118,13 @@ EOF HLDFLAGS= +RPATH_ENVVAR=LD_LIBRARY_PATH # If we have shared libraries, try to set rpath reasonably. if test "${shared}" = "true"; then case "${host}" in *-*-hpux*) HLDFLAGS='-Wl,+s,+b,$(libdir)' + RPATH_ENVVAR=SHLIB_PATH ;; *-*-irix5*) HLDFLAGS='-Wl,-rpath,$(libdir)' @@ -2159,6 +2161,7 @@ case "${host}" in esac + trap '' 1 2 15 cat > confcache <<\EOF # This file is a shell script that caches the results of configure @@ -2308,6 +2311,7 @@ s%@INSTALL_DATA@%$INSTALL_DATA%g s%@CPP@%$CPP%g s%@ALLOCA@%$ALLOCA%g s%@HLDFLAGS@%$HLDFLAGS%g +s%@RPATH_ENVVAR@%$RPATH_ENVVAR%g CEOF EOF |