summaryrefslogtreecommitdiff
path: root/sci-libs/arprec/files/arprec-2.2.20-fortranmod.patch
blob: ad4f648a8dbaa5a43643e11b726b20c92c99aaf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From cea820b2257e93fea1e510d899ccca368ff36b0d Mon Sep 17 00:00:00 2001
From: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Date: Wed, 27 May 2026 09:08:38 +0200
Subject: [PATCH] fix fortran module dependence in automake

Closes: https://github.com/BL-highprecision/ARPREC/issues/4
---
 toolkit/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/toolkit/Makefile.am b/toolkit/Makefile.am
index 925835b..239aa08 100644
--- a/toolkit/Makefile.am
+++ b/toolkit/Makefile.am
@@ -21,5 +21,7 @@ nodist_EXTRA_mathtool_SOURCES = dummy.cpp
 mathtool_LINK = $(CXXLINK)
 
 toolkit: $(TOOLKIT)
+mathinit.$(OBJEXT): globdata.$(OBJEXT) # fortran mod needed first
+mathtool.$(OBJEXT) pslqsub.$(OBJEXT) quadsub.$(OBJEXT) rootsub.$(OBJEXT) zetapz.$(OBJEXT): globdata.$(OBJEXT) # fortran mod needed first
 
 endif