summaryrefslogtreecommitdiff
path: root/sci-libs/hdf5/files/hdf5-1.14.2-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch
blob: 91ed578ccc149826eba43a4fd6e4646d712d17ed (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 1a5293a30594afbfd3a24899e055429046a47837 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 d42a41d..2b2a316 100644
--- a/fortran/src/Makefile.am
+++ b/fortran/src/Makefile.am
@@ -96,6 +96,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.43.0