summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2013-03-16 00:11:59 +0100
committerIan Lynagh <igloo@earth.li>2013-03-16 00:11:59 +0100
commita272adf4a9310da1e22b02bd24eeea79ea8eb620 (patch)
treeb887a82ed9ea3c01964abb165eababb6c6048fa2 /mk
parent39f28cc45c13888c4294db0ff75dd374b583cf88 (diff)
downloadhaskell-a272adf4a9310da1e22b02bd24eeea79ea8eb620.tar.gz
Disable DYNAMIC_GHC_PROGRAMS on Windows
It doesn't work yet
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index a69541a6e5..5e74ff008e 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -131,7 +131,12 @@ DYNAMIC_TOO = YES
# Use the dynamic way when building programs in the GHC tree. In
# particular, this means that GHCi will use DLLs rather than loading
# object files directly.
+ifeq "$(TargetOS_CPP)" "mingw32"
+# This doesn't work on Windows yet
+DYNAMIC_GHC_PROGRAMS = NO
+else
DYNAMIC_GHC_PROGRAMS = YES
+endif
# Build a compiler that will build *unregisterised* libraries and
# binaries by default. Unregisterised code is supposed to compile and