[commit: ghc] master: Disable DYNAMIC_GHC_PROGRAMS on Windows (a272adf)
Ian Lynagh
igloo at earth.li
Sun Mar 17 01:51:04 CET 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : master
https://github.com/ghc/ghc/commit/a272adf4a9310da1e22b02bd24eeea79ea8eb620
>---------------------------------------------------------------
commit a272adf4a9310da1e22b02bd24eeea79ea8eb620
Author: Ian Lynagh <igloo at earth.li>
Date: Sat Mar 16 00:11:59 2013 +0100
Disable DYNAMIC_GHC_PROGRAMS on Windows
It doesn't work yet
>---------------------------------------------------------------
mk/config.mk.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/mk/config.mk.in b/mk/config.mk.in
index a69541a..5e74ff0 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
More information about the ghc-commits
mailing list