From: Simon Marlow Date: Wed, 19 Aug 2009 09:55:38 +0000 (+0000) Subject: Make the thr_dyn RTS ways optional on GhcUnregisterised X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=9d8add68a1e971cffaca03b22692080951041f7c Make the thr_dyn RTS ways optional on GhcUnregisterised Fixes this failure in the unreigsterised build: /usr/bin/ld: cannot find -lHSrts_thr --- 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