1
0
mirror of synced 2024-07-05 02:19:25 +02:00
TheChymera-overlay/sci-libs/hdf5/files/hdf5-1.8.9-static_libgfortran.patch

16 lines
429 B
Diff
Raw Normal View History

2019-03-22 04:33:13 +01:00
Make sure that during runtime we'll use the same libgfortran as during linking
https://bugs.gentoo.org/show_bug.cgi?id=419991
https://bugs.gentoo.org/show_bug.cgi?id=419895
--- a/fortran/src/Makefile.am
+++ b/fortran/src/Makefile.am
@@ -181,6 +181,7 @@
else
H5test_kind_SOURCES = $(srcdir)/H5test_kind.f90
endif
+H5test_kind_LDFLAGS=-static-libgfortran
# Mark this directory as part of the Fortran API
FORTRAN_API=yes