summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-11-05 04:49:05 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-02 02:55:22 -0500
commit88648b4af2c65d1940f7e0d67211dc87f1b41ecf (patch)
tree59d6c39dc67a5441fbc34d3cdd5c8f8f6ce74366
parenta66c9cdc54358306c5d1adee9a2a7a365262d603 (diff)
downloadhaskell-88648b4af2c65d1940f7e0d67211dc87f1b41ecf.tar.gz
Do FP_FIND_LIBFFI in RTS configure too
-rw-r--r--rts/configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/rts/configure.ac b/rts/configure.ac
index 72347afc27..373114ec5d 100644
--- a/rts/configure.ac
+++ b/rts/configure.ac
@@ -33,6 +33,12 @@ GHC_CONVERT_PLATFORM_PARTS([host], [Host])
FPTOOLS_SET_PLATFORM_VARS([host], [Host])
FPTOOLS_SET_HASKELL_PLATFORM_VARS([Host])
+dnl ################################################################
+dnl Check for libraries
+dnl ################################################################
+
+FP_FIND_LIBFFI
+
dnl ** check whether we need -ldl to get dlopen()
AC_CHECK_LIB([dl], [dlopen])
dnl ** check whether we have dlinfo