summaryrefslogtreecommitdiff
path: root/sci-libs/hdf5/files/hdf5-1.14.4-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch
blob: 5b3a5f85f2ce94af63f12ffbc873742de87509ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From dcfab0f9f0c41cb61a25b11cd61eac7204365693 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Sun, 17 Dec 2023 09:25:43 +0000
Subject: [PATCH 1/3] Make sure that during runtime we'll use the same
 libgfortran as during linking

Bug: https://bugs.gentoo.org/419991
Bug: https://bugs.gentoo.org/419895
Signed-off-by: Sam James <sam@gentoo.org>
---
 fortran/src/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fortran/src/Makefile.am b/fortran/src/Makefile.am
index 8d8396f..de03df9 100644
--- a/fortran/src/Makefile.am
+++ b/fortran/src/Makefile.am
@@ -98,6 +98,7 @@ if BUILD_PARALLEL_CONDITIONAL
 else
   H5FC_NAME = h5fc
 endif
+H5test_kind_LDFLAGS=-static-libgfortran
 
 # Rules for automatically detecting which fortran types are present
 # and matching them to C types.  This is accomplished using helper
-- 
2.44.0