From 7fcdd02d18d0f5a0e80d0fd86a8c1e81a5224b85 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 24 Apr 2001 01:07:14 -0500 Subject: [svn-r3839] Purpose: Bug Fix... Description: For the tools library, it needed to find the HDF5 library in the `pwd`/../../src directory. Solution: Added `pwd`/../../src to the rpaths. Platforms tested: Modi4 --- bin/ltmain.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/ltmain.sh b/bin/ltmain.sh index f5edf8a..852ba7a 100644 --- a/bin/ltmain.sh +++ b/bin/ltmain.sh @@ -2457,8 +2457,12 @@ EOF # "recompile" just before execution. -BW 20. April 2001 case "$host" in *irix[56]*) + # Add in paths just for the HDF5 library stuff... pwd=`pwd`; - rpath="$rpath:$pwd/.libs:$pwd/../src/.libs"; + rpath="$rpath:$pwd/.libs:$pwd/../src/.libs:$pwd/../../src"; + + # Modify the rpaths so that the compiler can handle the number + # of library paths finalize_rpath=`echo $rpath | sed -e "s#:# ${wl}-rpath ${wl}#g"`; compile_rpath=`echo $rpath | sed -e "s#:# ${wl}-rpath ${wl}#g"`; ;; -- cgit v0.12