diff options
author | eschnett <eschnett@fb53df36-e548-4a1e-8150-ab98cbd5e786> | 2014-12-17 16:03:46 +0000 |
---|---|---|
committer | eschnett <eschnett@fb53df36-e548-4a1e-8150-ab98cbd5e786> | 2014-12-17 16:03:46 +0000 |
commit | 1a84656f594c02d06b37ace5c9a58e482a14998b (patch) | |
tree | dbd737b34e73baeb9dbf289bd507e734f412b1f9 | |
parent | af386afc5a19a2e374241e1969aa378da42892e3 (diff) |
Use RUNDIR_PREFIX
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@100 fb53df36-e548-4a1e-8150-ab98cbd5e786
-rwxr-xr-x | src/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.sh b/src/build.sh index 2fe394f..edf1b8c 100755 --- a/src/build.sh +++ b/src/build.sh @@ -85,7 +85,7 @@ echo "HDF5: Configuring checker..." cd h5check_2_0 # Point the checker to the just-installed library export CPPFLAGS="${CPPFLAGS} -I${HDF5_DIR}/include" -export LDFLAGS="${LDFLAGS} -L${HDF5_DIR}/lib -Wl,-rpath,${HDF5_DIR}/lib" +export LDFLAGS="${LDFLAGS} ${LIBDIR_PREFIX}${HDF5_DIR}/lib ${RUNDIR_PREFIX}${HDF5_DIR}/lib" export H5CC="${CC}" export H5CC_PP="${CPP}" export H5FC="${FC}" |