From 64db27285f04b712245ccf1ed29a16e70ca68f04 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 28 Aug 2001 17:35:03 -0500 Subject: [svn-r4415] Purpose: Bug Fix Description: On some SGI machines (or, rather, it was showing up there), the /usr/ncsa/lib directory was being placed before the other directories in the linker line. This was causing the linker to link in alternative HDF5 libraries than the test library. Solution: Modified my previous hack so that it puts the $rpath macro at the end, since those are the ones we're passing into the libtool function (in the DYNAMIC_DIRS macro). Platforms tested: Paz --- bin/ltmain.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ltmain.sh b/bin/ltmain.sh index 01e03d0..00ca40b 100644 --- a/bin/ltmain.sh +++ b/bin/ltmain.sh @@ -2459,7 +2459,7 @@ EOF *irix[56]*) # Add in paths just for the HDF5 library stuff... pwd=`pwd`; - rpath="$rpath:$pwd/.libs:$pwd/../src/.libs:$pwd/../../src/.libs:$pwd/../test/.libs"; + rpath="${wl}-rpath ${wl}$pwd/.libs:$pwd/../src/.libs:$pwd/../../src/.libs:$pwd/../test/.libs$rpath"; # Modify the rpaths so that the compiler can handle the number # of library paths -- cgit v0.12