diff options
author | Ian Lynagh <igloo@earth.li> | 2013-03-16 00:11:59 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2013-03-16 00:11:59 +0100 |
commit | a272adf4a9310da1e22b02bd24eeea79ea8eb620 (patch) | |
tree | b887a82ed9ea3c01964abb165eababb6c6048fa2 /mk/config.mk.in | |
parent | 39f28cc45c13888c4294db0ff75dd374b583cf88 (diff) | |
download | haskell-a272adf4a9310da1e22b02bd24eeea79ea8eb620.tar.gz |
Disable DYNAMIC_GHC_PROGRAMS on Windows
It doesn't work yet
Diffstat (limited to 'mk/config.mk.in')
-rw-r--r-- | mk/config.mk.in | 5 |
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 |