diff options
| author | wolfgang <unknown> | 2003-09-23 16:43:00 +0000 |
|---|---|---|
| committer | wolfgang <unknown> | 2003-09-23 16:43:00 +0000 |
| commit | 9c9c4ea91664b802dff3b580f21ea1f3c3ccb369 (patch) | |
| tree | 016e3f52d0a85bf63cd9202fc7ea10e3729a90a1 | |
| parent | 2e160a48acce946bc2c94dc433e7cc50f5d725f8 (diff) | |
| download | haskell-9c9c4ea91664b802dff3b580f21ea1f3c3ccb369.tar.gz | |
[project @ 2003-09-23 16:43:00 by wolfgang]
Mac OS X uses .dylib instead of .so, recognize that properly.
| -rw-r--r-- | ghc/compiler/ghci/Linker.lhs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ghc/compiler/ghci/Linker.lhs b/ghc/compiler/ghci/Linker.lhs index 9137031fd9..8f9fa34b22 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 |
