-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with libyaml being a requirement for F77 support
It seems that any library checked using AC_CHECK_LIB (e.g libyaml) automatically gets added to the list of linker options required to work with Fortran if AC_CHECK_LIB is used before AC_FC_LIBRARY_LDFLAGS. So this commit moves the use of AC_FC_LIBRARY_LDFLAGS so that it comes beore all use of AC_CHECK_LIB. This changes the "flibs" value in ast_link and ast_link_adam so that they no longer include -lyaml and -pthread.
- Loading branch information
Showing
1 changed file
with
23 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters