diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-07-21 09:22:06 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2021-07-25 17:35:23 -0400 |
commit | b89013f918295b7cac1649df095f7f7e4d7966da (patch) | |
tree | 455add94f1c8db25f2307ca9090d09e4e54959d7 /configure.ac | |
parent | 07ffda5794c069eb9aa2d6c5f97c50dd4fd16e64 (diff) | |
download | haskell-wip/libffi.tar.gz |
rts: Don't declare libCffi as bundled when using system libffiwip/libffi
Previously the rts's cabal file would claim that it bundled libffi, even
if we are using the system's libffi. Fixes #19869.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 535a0c3b88..b91c86f1ba 100644 --- a/configure.ac +++ b/configure.ac @@ -1083,10 +1083,12 @@ AC_ARG_WITH([system-libffi], ]) AS_IF([test "x$with_system_libffi" = "xyes"], - [UseSystemLibFFI="YES"], [UseSystemLibFFI="NO"] + [UseSystemLibFFI="YES"; CabalUseSystemLibFFI="True"], + [UseSystemLibFFI="NO"; CabalUseSystemLibFFI="True"] ) AC_SUBST(UseSystemLibFFI) +AC_SUBST(CabalUseSystemLibFFI) AC_ARG_WITH([ffi-includes], [AS_HELP_STRING([--with-ffi-includes=ARG], |