diff --git a/fortran/src/h5fc.in b/fortran/src/h5fc.in index 51440781459..e0e35f5a1b8 100644 --- a/fortran/src/h5fc.in +++ b/fortran/src/h5fc.in @@ -330,8 +330,8 @@ if test "x$do_link" = "xyes"; then -lhdf5_fortran) new_libraries="$new_libraries ${libdir}/libhdf5_fortran.a" ;; - -lhdf5hl_fortran) - new_libraries="$new_libraries ${libdir}/libhdf5hl_fortran.a" + -lhdf5_hl_fortran) + new_libraries="$new_libraries ${libdir}/libhdf5_hl_fortran.a" ;; *) new_libraries="$new_libraries $lib"