summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-25 18:06:15 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-25 18:06:15 +0100
commitf3115bdda03288960d28541562ce3fc8d9b623b8 (patch)
treecd7fc76fc201ebf87dc5d822f8f09a80fc53de03 /ghc.mk
parent8d8af5eefc018506be8916e11946cd88cb970b81 (diff)
downloadhaskell-f3115bdda03288960d28541562ce3fc8d9b623b8.tar.gz
Fix the haddocking build system rules when dynamic is the default way
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
# -----------------------------------------------------------------------------