summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-05-04 20:07:56 +0100
committerIan Lynagh <igloo@earth.li>2012-05-05 00:12:25 +0100
commit88f694dd488bfe475c7dfac20ad47781c5689785 (patch)
tree1a7ab5e9691fa667da3eca3e2318e8209115f5d7 /compiler
parent376210565e4dff2679246c6ebbcdbb3163c9e8a5 (diff)
downloadhaskell-88f694dd488bfe475c7dfac20ad47781c5689785.tar.gz
Enable and fix building dynlibs on Win64
Diffstat (limited to 'compiler')
-rw-r--r--compiler/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index e4a8368795..a3005db41b 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -493,7 +493,7 @@ compiler/main/Constants_HC_OPTS += -fforce-recomp
# LibFFI.hs #includes ffi.h
compiler/stage2/build/LibFFI.hs : $(libffi_HEADERS)
# On Windows it seems we also need to link directly to libffi
-ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32"
+ifeq "$(HostOS_CPP)" "mingw32"
define windowsDynLinkToFfi
# $1 = way
ifneq "$$(findstring dyn, $1)" ""