mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r17775] 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).
This commit is contained in:
parent
2f423f0a47
commit
f736e4ca18
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user