summaryrefslogtreecommitdiff
path: root/libraries/ghci
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-04-12 16:59:50 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-04-29 21:08:45 -0400
commit1abb76ab8e32e7be224631506201d1beec62a5c2 (patch)
tree23c5d7ec8f4d9908558066e1181404ec4f7cda0d /libraries/ghci
parente23f78bab62d3a353eb7f67c1e0db60f5845286d (diff)
downloadhaskell-1abb76ab8e32e7be224631506201d1beec62a5c2.tar.gz
ghci: Ensure that system libffi include path is searched
Previously hsc2hs failed when building against a system FFI.
Diffstat (limited to 'libraries/ghci')
-rw-r--r--libraries/ghci/ghci.cabal.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/ghci/ghci.cabal.in b/libraries/ghci/ghci.cabal.in
index 3f7e4db2f5..728927d3ce 100644
--- a/libraries/ghci/ghci.cabal.in
+++ b/libraries/ghci/ghci.cabal.in
@@ -56,6 +56,8 @@ library
GHCi.Signals
GHCi.TH
+ include-dirs: @FFIIncludeDir@
+
exposed-modules:
GHCi.BreakArray
GHCi.BinaryArray