summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-08-28 22:36:24 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-08-28 22:36:24 (GMT)
commitc3ce73d15a83d2c9787aee009223f4c460dfdd51 (patch)
treea14a71ed517fc2bb36cb87d0a147b2b2e42171b1 /bin
parent32dd71e593a757e66687c3c7e48b594f9fc853c4 (diff)
downloadhdf5-c3ce73d15a83d2c9787aee009223f4c460dfdd51.zip
hdf5-c3ce73d15a83d2c9787aee009223f4c460dfdd51.tar.gz
hdf5-c3ce73d15a83d2c9787aee009223f4c460dfdd51.tar.bz2
[svn-r4416] 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
Diffstat (limited to 'bin')
-rw-r--r--bin/ltmain.sh2
1 files changed, 1 insertions, 1 deletions
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