summaryrefslogtreecommitdiff
path: root/rts/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r--rts/ghc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index a667ac3553..2ae4d72f4c 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -95,6 +95,8 @@ endif
$(call distdir-way-opts,rts,dist,$1)
$(call c-suffix-rules,rts,dist,$1,YES)
$(call cmm-suffix-rules,rts,dist,$1)
+$(call hs-suffix-rules-srcdir,rts,dist,$1,$$(dir))
+# hs-suffix-rules-srcdir is needed when BootingFromHc to get the .hc rules
rts_$1_LIB = rts/dist/build/libHSrts$$($1_libsuf)