diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-02-25 10:00:01 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-04-25 10:18:17 -0400 |
commit | b2721819f391ab49871271283f32df54810c4387 (patch) | |
tree | 1c9c6158e83ba72efd670902c735834a70f952c3 /hadrian/src/Rules/Libffi.hs | |
parent | 53cc93ae3c9b939fff8407ee588dff89f7f92a12 (diff) | |
download | haskell-b2721819f391ab49871271283f32df54810c4387.tar.gz |
hadrian: Clean up handling of libffi dependencies
Diffstat (limited to 'hadrian/src/Rules/Libffi.hs')
-rw-r--r-- | hadrian/src/Rules/Libffi.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hadrian/src/Rules/Libffi.hs b/hadrian/src/Rules/Libffi.hs index e37faee5dc..8e62461202 100644 --- a/hadrian/src/Rules/Libffi.hs +++ b/hadrian/src/Rules/Libffi.hs @@ -103,6 +103,9 @@ libffiLocalName force_dynamic = do libffiLibrary :: FilePath libffiLibrary = "inst/lib/libffi.a" +-- | These are the headers that we must package with GHC since foreign export +-- adjustor code produced by GHC depends upon them. +-- See Note [Packaging libffi headers] in GHC.Driver.CodeOutput. libffiHeaderFiles :: [FilePath] libffiHeaderFiles = ["ffi.h", "ffitarget.h"] |