Skip to content

Commit

Permalink
Update h5fc.in to use renamed libhdf5_hl_fortran.
Browse files Browse the repository at this point in the history
Fix typo in code to create link to libhdf5_hl_fortran.a.
  • Loading branch information
lrknox committed Sep 6, 2024
1 parent 851e09b commit 7bc4490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fortran/src/h5fc.in
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ if test "x$do_link" = "xyes"; then
shared_link=""
# conditionally link with the hl library
if test "X$HL" = "Xhl"; then
libraries=" $libraries -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5 "
libraries=" $libraries -lhdf5_hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5 "
else
libraries=" $libraries -lhdf5_fortran -lhdf5 "
fi
Expand Down
2 changes: 1 addition & 1 deletion hl/fortran/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ libhdf5_hl_fortran_la_LIBADD=$(LIBH5_HL) $(LIBH5F)
# actual lib file.
install-exec-hook:
cd $(DESTDIR)$(libdir) && \
if test -f libhdf_5hl_fortran.a -a \
if test -f libhdf5_hl_fortran.a -a \
! -f libhdf5hl_fortran.a; then \
$(LN_S) libhdf5_hl_fortran.a libhdf5hl_fortran.a; \
fi; \
Expand Down

0 comments on commit 7bc4490

Please sign in to comment.