summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-08-28 22:35:03 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-08-28 22:35:03 (GMT)
commit64db27285f04b712245ccf1ed29a16e70ca68f04 (patch)
tree1efe516cdba1ee68b01376129a604091dcb42f89
parent780ce8c15fe7ccbad44081207266822274a41496 (diff)
downloadhdf5-64db27285f04b712245ccf1ed29a16e70ca68f04.zip
hdf5-64db27285f04b712245ccf1ed29a16e70ca68f04.tar.gz
hdf5-64db27285f04b712245ccf1ed29a16e70ca68f04.tar.bz2
[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
-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