Build and copy libffi shared libraries correctly and enable dynamically linking ghc.
authorDavid Eichmann <EichmannD@gmail.com>
Tue, 15 Jan 2019 19:34:06 +0000 (12:34 -0700)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Sat, 23 Feb 2019 04:35:18 +0000 (23:35 -0500)
commit806cc234426dca41e1c799e9e6212cf9e352d180
tree76b5aec4aceea299fd14952e9d0ad8afedd1f56a
parent44ad7215a11cb49651233646c30ced9eb72eaad2
Build and copy libffi shared libraries correctly and enable dynamically linking ghc.

Test Plan:
Ensure build environment does NOT have a system libffi installed (you may want to use a nix environment).
Then `hadrian/build.sh -c --flavour=default`

Reviewers: bgamari

Subscribers: rwbarton, carter

GHC Trac Issues: #15837
hadrian/src/Packages.hs
hadrian/src/Rules/Libffi.hs
hadrian/src/Rules/Library.hs
hadrian/src/Rules/Program.hs
hadrian/src/Rules/Test.hs
hadrian/src/Settings.hs
hadrian/src/Settings/Builders/Configure.hs
hadrian/src/Settings/Builders/Ghc.hs
libraries/Cabal