summaryrefslogtreecommitdiffstats
path: root/c++
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 /c++
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 'c++')
-rwxr-xr-xc++/src/h5c++.in2
1 files changed, 1 insertions, 1 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