summaryrefslogtreecommitdiff
path: root/rts/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-11-29 23:52:07 +0000
committerIan Lynagh <ian@well-typed.com>2012-11-30 01:31:39 +0000
commitc793cc35a0959a3e68ab09802e2c978750e94ace (patch)
tree22dc4ceb82660a13776d43cd7cb028fa49504937 /rts/ghc.mk
parent3005e90936c47c1f71672bf6c84fff20cb14014b (diff)
downloadhaskell-c793cc35a0959a3e68ab09802e2c978750e94ace.tar.gz
libffi build system tweaks
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r--rts/ghc.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index bf01a90d5a..e3c9fa6b47 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -493,7 +493,10 @@ endif
$(eval $(call dependencies,rts,dist,1))
-$(rts_dist_depfile_c_asm) : $(libffi_HEADERS) $(DTRACEPROBES_H)
+$(rts_dist_depfile_c_asm) : $(DTRACEPROBES_H)
+ifneq "$(UseSystemLibFFI)" "YES"
+$(rts_dist_depfile_c_asm) : $(libffi_HEADERS)
+endif
# -----------------------------------------------------------------------------
# compile dtrace probes if dtrace is supported