summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2009-10-28 19:05:35 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2009-10-28 19:05:35 (GMT)
commit1fa0de7a814b8786fe7df6e265128a04a95b2339 (patch)
tree5ece7463062770ca7e81c342f3b9c90fbfcdcef8 /fortran
parent6f29232adb77c75463e5c2d7e423f8bb729e7f20 (diff)
downloadhdf5-1fa0de7a814b8786fe7df6e265128a04a95b2339.zip
hdf5-1fa0de7a814b8786fe7df6e265128a04a95b2339.tar.gz
hdf5-1fa0de7a814b8786fe7df6e265128a04a95b2339.tar.bz2
[svn-r17773] Purpose:
h5cc link-line reordering Description: Re-ordered flags in h5cc such that LDFLAGS appears after hdf5 library include path. This is to ensure third party library locations don't interfere with locating the correct version of hdf5 library. I have Elena's permission to bring into 1.8 before anything else (so it can be tested via daily tests ASAP), though the hope is to propagate everywhere. Tested: quickly by hand on jam, daily tests should catch elsewhere.
Diffstat (limited to 'fortran')
-rwxr-xr-xfortran/src/h5fc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/h5fc.in b/fortran/src/h5fc.in
index 5b915d5..df52971 100755
--- a/fortran/src/h5fc.in
+++ b/fortran/src/h5fc.in
@@ -295,7 +295,7 @@ if test "x$do_link" = "xyes"; then
# module. It's okay if they're included twice in the compile line.
link_args="$link_args $LIBS"
- $SHOW $FLINKER $FFLAGS $F9XSUFFIXFLAG $fmodules $LDFLAGS $link_objs $link_args $shared_link
+ $SHOW $FLINKER $FFLAGS $F9XSUFFIXFLAG $fmodules $link_objs $link_args $shared_link $LDFLAGS
status=$?
fi