summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index 3f8d971732..e7903b47cf 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -187,8 +187,10 @@ $(foreach way,$(ALL_WAYS),\
ifeq "$(DYNAMIC_BY_DEFAULT)" "YES"
GHCI_WAY = dyn
+HADDOCK_WAY = dyn
else
GHCI_WAY = v
+HADDOCK_WAY = v
endif
# -----------------------------------------------------------------------------