diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-02-15 19:00:07 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-02-15 19:00:07 +0000 |
commit | ad43e45b46ae929b76c1b49d0487b51eb9a4b7fc (patch) | |
tree | 8973a792e990c563ae3876a7b3a25620c775b13a /ld/configure.host | |
parent | efa864530f0eb1ea32d603544581ba4ec95dcee8 (diff) | |
download | gdb-ad43e45b46ae929b76c1b49d0487b51eb9a4b7fc.zip gdb-ad43e45b46ae929b76c1b49d0487b51eb9a4b7fc.tar.gz gdb-ad43e45b46ae929b76c1b49d0487b51eb9a4b7fc.tar.bz2 |
* configure.in: Substitute RPATH_ENVVAR.
* configure: Rebuild.
* configure.host: Set RPATH_ENVVAR.
* Makefile.in (RPATH_ENVVAR): New variable.
(check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
Diffstat (limited to 'ld/configure.host')
-rw-r--r-- | ld/configure.host | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/configure.host b/ld/configure.host index 9d0b628..04013fd 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -9,6 +9,8 @@ # HOSTING_CRT0 crt0.o file used for bootstrapping # HOSTING_LIBS libraries used for bootstrapping # NATIVE_LIB_DIRS library directories to search on this host +# HLDFLAGS link flags to use on this host +# RPATH_ENVVAR environment variable used to find shared libraries HDEFINES= HOSTING_CRT0=/lib/crt0.o @@ -133,11 +135,13 @@ sparc-*-solaris2*) esac 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)' |