projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2e160a4
)
[project @ 2003-09-23 16:43:00 by wolfgang]
author
wolfgang
<unknown>
Tue, 23 Sep 2003 16:43:00 +0000
(16:43 +0000)
committer
wolfgang
<unknown>
Tue, 23 Sep 2003 16:43:00 +0000
(16:43 +0000)
Mac OS X uses .dylib instead of .so, recognize that properly.
ghc/compiler/ghci/Linker.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/ghci/Linker.lhs
b/ghc/compiler/ghci/Linker.lhs
index
9137031
..
8f9fa34
100644
(file)
--- 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"]
#ifdef mingw32_TARGET_OS
dynlib_suffixes = ["dll", "DLL"]
+#elif defined(darwin_TARGET_OS)
+dynlib_suffixes = ["dylib"]
#else
dynlib_suffixes = ["so"]
#endif
#else
dynlib_suffixes = ["so"]
#endif