summaryrefslogtreecommitdiffstats
path: root/bin/ltmain.sh
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-04-24 06:07:14 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-04-24 06:07:14 (GMT)
commit7fcdd02d18d0f5a0e80d0fd86a8c1e81a5224b85 (patch)
tree003a6a3be433ac49b131e6b023b21bac52a3e217 /bin/ltmain.sh
parent7c5391e40c63fa4a4588ff9d378b2fe7a5ed39c8 (diff)
downloadhdf5-7fcdd02d18d0f5a0e80d0fd86a8c1e81a5224b85.zip
hdf5-7fcdd02d18d0f5a0e80d0fd86a8c1e81a5224b85.tar.gz
hdf5-7fcdd02d18d0f5a0e80d0fd86a8c1e81a5224b85.tar.bz2
[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
Diffstat (limited to 'bin/ltmain.sh')
-rw-r--r--bin/ltmain.sh6
1 files changed, 5 insertions, 1 deletions
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"`;
;;