summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-05-04 16:26:59 +0100
committerIan Lynagh <igloo@earth.li>2012-05-04 16:26:59 +0100
commitf3c24c53bcbd029f107476e24cf048b221e1cb94 (patch)
tree31f99d35b805c5f7f1b636610c3c9014195f2340 /libffi
parent1169351dca19dc3973448336ae168ddba154e606 (diff)
downloadhaskell-f3c24c53bcbd029f107476e24cf048b221e1cb94.tar.gz
Follow libffi changes on Windows
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ghc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/libffi/ghc.mk b/libffi/ghc.mk
index 879d482da8..fc474d2010 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -35,6 +35,9 @@ libffi_STATIC_LIB = libffi/build/inst/lib/libffi.a
libffi_HEADERS = rts/dist/build/ffi.h \
rts/dist/build/ffitarget.h
+LIBFFI_WINDOWS_LIB = ffi-6
+LIBFFI_DLL = lib$(LIBFFI_WINDOWS_LIB).dll
+
ifeq "$(OSTYPE)" "cygwin"
LIBFFI_PATH_MANGLE = PATH=$$(cygpath "$(TOP)")/libffi:$$PATH; export PATH;
endif