diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-11-29 23:52:07 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-11-30 01:31:39 +0000 |
commit | c793cc35a0959a3e68ab09802e2c978750e94ace (patch) | |
tree | 22dc4ceb82660a13776d43cd7cb028fa49504937 /compiler | |
parent | 3005e90936c47c1f71672bf6c84fff20cb14014b (diff) | |
download | haskell-c793cc35a0959a3e68ab09802e2c978750e94ace.tar.gz |
libffi build system tweaks
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/ghc.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk index 887f91b280..0e53ca5e62 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -500,7 +500,10 @@ $(foreach way,$$(compiler_stage3_WAYS),\ compiler/prelude/PrimOp_HC_OPTS += -fforce-recomp # LibFFI.hs #includes ffi.h +ifneq "$(UseSystemLibFFI)" "YES" compiler/stage2/build/LibFFI.hs : $(libffi_HEADERS) +endif + # On Windows it seems we also need to link directly to libffi ifeq "$(HostOS_CPP)" "mingw32" define windowsDynLinkToFfi |