diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-08-28 22:35:03 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-08-28 22:35:03 (GMT) |
commit | 64db27285f04b712245ccf1ed29a16e70ca68f04 (patch) | |
tree | 1efe516cdba1ee68b01376129a604091dcb42f89 /bin | |
parent | 780ce8c15fe7ccbad44081207266822274a41496 (diff) | |
download | hdf5-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
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ltmain.sh | 2 |
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 |