From: Ian Lance Taylor Date: Tue, 13 Feb 1996 19:29:03 +0000 (+0000) Subject: * Makefile.in (RPATH_ENVVAR): New variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2693093295e5f9333c806368a19a009a7e0af91;p=binutils-gdb.git * Makefile.in (RPATH_ENVVAR): New variable. (REALLY_SET_LIB_PATH): Use it. * configure.in: On HP/UX, set RPATH_ENVVAR to SHLIB_PATH. --- diff --git a/configure.in b/configure.in index 49198e79d1e..54b350f5f9b 100644 --- a/configure.in +++ b/configure.in @@ -717,6 +717,15 @@ if [ "${enable_shared}" = "yes" ]; then Makefile > Makefile.tem rm -f Makefile mv -f Makefile.tem Makefile + + case "${host}" in + *-*-hpux*) + sed -e 's/RPATH_ENVVAR[ ]*=.*$/RPATH_ENVVAR = SHLIB_PATH/' \ + Makefile > Makefile.tem + rm -f Makefile + mv -f Makefile.tem Makefile + ;; + esac fi # Record target_configdirs and the configure arguments in Makefile.