From 9d8add68a1e971cffaca03b22692080951041f7c Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 19 Aug 2009 09:55:38 +0000 Subject: [PATCH] Make the thr_dyn RTS ways optional on GhcUnregisterised Fixes this failure in the unreigsterised build: /usr/bin/ld: cannot find -lHSrts_thr --- mk/config.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/config.mk.in b/mk/config.mk.in index 9ada654..f11c6f7 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -251,7 +251,7 @@ GhcRTSWays += debug endif ifeq "$(BuildSharedLibs)" "YES" -GhcRTSWays += dyn debug_dyn thr_dyn thr_debug_dyn +GhcRTSWays += dyn debug_dyn $(if $(findstring NO, $(GhcUnregisterised)),thr_dyn thr_debug_dyn) endif # Want the threaded versions unless we're unregisterised -- 1.7.10.4