From 006a18ea83799c0d4255071a2f8c08d3e9c7d84f Mon Sep 17 00:00:00 2001 From: Clemens Fruhwirth Date: Wed, 8 Aug 2007 06:50:43 +0000 Subject: Build RTS as dynamic library --- rts/StgMiscClosures.cmm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rts/StgMiscClosures.cmm') diff --git a/rts/StgMiscClosures.cmm b/rts/StgMiscClosures.cmm index 58cbaf9d56..ebf9e922ae 100644 --- a/rts/StgMiscClosures.cmm +++ b/rts/StgMiscClosures.cmm @@ -592,7 +592,7 @@ CLOSURE(stg_dummy_ret_closure,stg_dummy_ret); replace them with references to the static objects. ------------------------------------------------------------------------- */ -#if defined(ENABLE_WIN32_DLL_SUPPORT) +#if defined(__PIC__) && defined(mingw32_TARGET_OS) /* * When sticking the RTS in a DLL, we delay populating the * Charlike and Intlike tables until load-time, which is only -- cgit v1.2.1