summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-04-24 20:22:43 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-04-24 20:22:43 (GMT)
commit68b1950013d5890ad70bb7ec28036a15ef34265d (patch)
tree8a44dff4770dcea2521b1e73fa181b39331438d4
parent690e832bec73376eeb867c9c4c84f28be2b98f2e (diff)
downloadhdf5-68b1950013d5890ad70bb7ec28036a15ef34265d.zip
hdf5-68b1950013d5890ad70bb7ec28036a15ef34265d.tar.gz
hdf5-68b1950013d5890ad70bb7ec28036a15ef34265d.tar.bz2
[svn-r6746] Purpose:
Bug Fix Description: When going to compile on a platform (like HP-UX) which doesn't have libz.a in it's path, the script would fail. The reason was that the LDFLAGS variable which holds the directories to these libraries was last in the compile line. So the compiler couldn't find the library Solution: Put the LDFLAGS variable before the linker variables. Platforms tested: Kelgia (Fortran) Verbena (Fortran, no C++ since only Fortran affected) Arabica (Fortran) Modi4 (Fortran & Parallel) Also ran "make check-install" Misc. update:
-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 d264af0..b96a804 100755
--- a/fortran/src/h5fc.in
+++ b/fortran/src/h5fc.in
@@ -205,7 +205,7 @@ if test "x$do_link" = "xyes"; then
link_args="$link_args ${libdir}/libhdf5_fortran.a ${libdir}/libhdf5.a"
link_args="$link_args $LIBS"
- $SHOW $FLINKER ${FFLAGS} ${F9XSUFFIXFLAG} ${fmodules} $link_objs $link_args ${LDFLAGS}
+ $SHOW $FLINKER ${FFLAGS} ${F9XSUFFIXFLAG} ${fmodules} ${LDFLAGS} $link_objs $link_args
status=$?
fi