From 6215d4c858c1502c6c1929521fdd7fd00f16bb2d Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 14 Mar 2013 16:56:23 +0000 Subject: Fix tests for dynamic ghc --- testsuite/mk/boilerplate.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'testsuite/mk/boilerplate.mk') diff --git a/testsuite/mk/boilerplate.mk b/testsuite/mk/boilerplate.mk index f9ed52ee0f..e5bf164391 100644 --- a/testsuite/mk/boilerplate.mk +++ b/testsuite/mk/boilerplate.mk @@ -164,6 +164,16 @@ ifeq "$(findstring clean,$(MAKECMDGOALS))" "" include $(ghc-config-mk) endif +ifeq "$(GhcDynamic)" "YES" +ghcThWayFlags = -dynamic +ghciWayFlags = -dynamic +ghcPluginWayFlags = -dynamic +else +ghcThWayFlags = -static +ghciWayFlags = -static +ghcPluginWayFlags = -static +endif + # ----------------------------------------------------------------------------- ifeq "$(HostOS)" "mingw32" -- cgit v1.2.1