summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2009-10-28 20:31:25 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2009-10-28 20:31:25 (GMT)
commit98f4d1fd11d5bba30270109d0a66b662e5ee79b7 (patch)
tree065ca5a172cbd0f3cf88238c92a7de97e548ed3d
parent718ce1fc3de6e4efcd05476342dfdba0d1338747 (diff)
downloadhdf5-98f4d1fd11d5bba30270109d0a66b662e5ee79b7.zip
hdf5-98f4d1fd11d5bba30270109d0a66b662e5ee79b7.tar.gz
hdf5-98f4d1fd11d5bba30270109d0a66b662e5ee79b7.tar.bz2
[svn-r17774] 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. Tested: passed daily tests in 1.8 branch (as verified by Larry just now).
-rwxr-xr-xc++/src/h5c++.in2
-rwxr-xr-xfortran/src/h5fc.in2
-rwxr-xr-xtools/misc/h5cc.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/c++/src/h5c++.in b/c++/src/h5c++.in
index 6620e40..aac8f40 100755
--- a/c++/src/h5c++.in
+++ b/c++/src/h5c++.in
@@ -317,7 +317,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 $CXXLINKER $CPPFLAGS $CXXFLAGS $LDFLAGS $clibpath $link_objs $link_args $shared_link
+ $SHOW $CXXLINKER $CPPFLAGS $CXXFLAGS $clibpath $link_objs $link_args $shared_link $LDFLAGS
status=$?
fi
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
diff --git a/tools/misc/h5cc.in b/tools/misc/h5cc.in
index 3422bdd..28f0dee 100755
--- a/tools/misc/h5cc.in
+++ b/tools/misc/h5cc.in
@@ -318,7 +318,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 $CLINKER $CFLAGS $LDFLAGS $clibpath $link_objs $link_args $shared_link
+ $SHOW $CLINKER $CFLAGS $clibpath $link_objs $link_args $shared_link $LDFLAGS
status=$?
fi