From 24113b6beba094b4027a3e4dbe6b48443d82a947 Mon Sep 17 00:00:00 2001 From: Don Stewart Date: Sat, 21 May 2005 05:21:28 +0000 Subject: [PATCH] #if .. #if -> #if .. #elif .. :} --- src/plugins/System/Plugins/Env.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/System/Plugins/Env.hs b/src/plugins/System/Plugins/Env.hs index c5ddba4..fdee42f 100644 --- a/src/plugins/System/Plugins/Env.hs +++ b/src/plugins/System/Plugins/Env.hs @@ -353,7 +353,7 @@ classifyLdInput _ = return Nothing -- TODO need to define a MAC/DARWIN symbol #if defined(darwin_TARGET_OS) mkSOName root = "lib" ++ root ++ ".dylib" -#if defined(CYGWIN) || defined(__MINGW32__) +#elif defined(CYGWIN) || defined(__MINGW32__) -- Win32 DLLs have no .dll extension here, because addDLL tries -- both foo.dll and foo.drv mkSOName root = root