From 9c9c4ea91664b802dff3b580f21ea1f3c3ccb369 Mon Sep 17 00:00:00 2001 From: wolfgang Date: Tue, 23 Sep 2003 16:43:00 +0000 Subject: [PATCH] [project @ 2003-09-23 16:43:00 by wolfgang] Mac OS X uses .dylib instead of .so, recognize that properly. --- ghc/compiler/ghci/Linker.lhs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghc/compiler/ghci/Linker.lhs b/ghc/compiler/ghci/Linker.lhs index 9137031..8f9fa34 100644 --- a/ghc/compiler/ghci/Linker.lhs +++ b/ghc/compiler/ghci/Linker.lhs @@ -246,6 +246,8 @@ libish f = getFileSuffix f `elem` dynlib_suffixes #ifdef mingw32_TARGET_OS dynlib_suffixes = ["dll", "DLL"] +#elif defined(darwin_TARGET_OS) +dynlib_suffixes = ["dylib"] #else dynlib_suffixes = ["so"] #endif -- 1.7.10.4