summaryrefslogtreecommitdiff
path: root/compiler/ghci
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-03 19:05:28 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-03 20:08:22 +0100
commitd1c8731aeb4af1a9ca28278cddd5ffbe9dd401b9 (patch)
tree891c2cae8bebf7c7e2c766ab832de4d417c7d891 /compiler/ghci
parent30b08711fd94a2cc001382830b498686dcfcb7d0 (diff)
downloadhaskell-d1c8731aeb4af1a9ca28278cddd5ffbe9dd401b9.tar.gz
Fix the recompilation check for dynamic libraries
I've put mkSOName in HscTypes for now; I'm not sure what the best place for it is.
Diffstat (limited to 'compiler/ghci')
-rw-r--r--compiler/ghci/Linker.lhs7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/ghci/Linker.lhs b/compiler/ghci/Linker.lhs
index 6b47db3965..0cf98fe3fd 100644
--- a/compiler/ghci/Linker.lhs
+++ b/compiler/ghci/Linker.lhs
@@ -1185,13 +1185,6 @@ searchForLibUsingGcc dflags so dirs = do
-- ----------------------------------------------------------------------------
-- Loading a dyanmic library (dlopen()-ish on Unix, LoadLibrary-ish on Win32)
-mkSOName :: Platform -> FilePath -> FilePath
-mkSOName platform root
- = case platformOS platform of
- OSDarwin -> ("lib" ++ root) <.> "dylib"
- OSMinGW32 -> root <.> "dll"
- _ -> ("lib" ++ root) <.> "so"
-
-- Darwin / MacOS X only: load a framework
-- a framework is a dynamic library packaged inside a directory of the same
-- name. They are searched for in different paths than normal libraries.