diff options
author | Ian Lynagh <igloo@earth.li> | 2012-05-04 20:07:56 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-05-05 00:12:25 +0100 |
commit | 88f694dd488bfe475c7dfac20ad47781c5689785 (patch) | |
tree | 1a7ab5e9691fa667da3eca3e2318e8209115f5d7 /compiler | |
parent | 376210565e4dff2679246c6ebbcdbb3163c9e8a5 (diff) | |
download | haskell-88f694dd488bfe475c7dfac20ad47781c5689785.tar.gz |
Enable and fix building dynlibs on Win64
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/ghc.mk | 2 |
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)" "" |