From f3c24c53bcbd029f107476e24cf048b221e1cb94 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 4 May 2012 16:26:59 +0100 Subject: Follow libffi changes on Windows --- compiler/ghc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/ghc.mk') diff --git a/compiler/ghc.mk b/compiler/ghc.mk index 505c985bbe..e4a8368795 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -497,7 +497,7 @@ ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32" define windowsDynLinkToFfi # $1 = way ifneq "$$(findstring dyn, $1)" "" -compiler_stage2_$1_ALL_HC_OPTS += -lffi-5 +compiler_stage2_$1_ALL_HC_OPTS += -l$$(LIBFFI_WINDOWS_LIB) endif endef $(foreach way,$(GhcLibWays),$(eval $(call windowsDynLinkToFfi,$(way)))) -- cgit v1.2.1