summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-09-16 16:17:44 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-22 08:24:23 -0400
commit92257abd4b64f0496204adb19462d05c1d6475e3 (patch)
tree906a64d411ff4116482742fdaeebd64fb24df570 /distrib
parentbb37026e3547af569db6dce021b59f4d0ac70910 (diff)
downloadhaskell-92257abd4b64f0496204adb19462d05c1d6475e3.tar.gz
Link with libm dynamically (#19877)
The compiler should be independent of the target.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/configure.ac.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in
index 2a3425b1a6..dfc06e5a43 100644
--- a/distrib/configure.ac.in
+++ b/distrib/configure.ac.in
@@ -19,6 +19,9 @@ bootstrap_target=@TargetPlatform@
TargetHasRTSLinker=@TargetHasRTSLinker@
AC_SUBST(TargetHasRTSLinker)
+TargetHasLibm=@TargetHasLibm@
+AC_SUBST(TargetHasLibm)
+
FFIIncludeDir=@FFIIncludeDir@
FFILibDir=@FFILibDir@
AC_SUBST(FFILibDir)