projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
locateOneObj: don't look for dynamic libs in static mode
[ghc-hetmet.git]
/
compiler
/
utils
/
Util.lhs
diff --git
a/compiler/utils/Util.lhs
b/compiler/utils/Util.lhs
index
69b8c7e
..
81fc0fe
100644
(file)
--- a/
compiler/utils/Util.lhs
+++ b/
compiler/utils/Util.lhs
@@
-7,7
+7,7
@@
-- | Highly random utility functions
module Util (
-- * Flags dependent on the compiler build
-- | Highly random utility functions
module Util (
-- * Flags dependent on the compiler build
- ghciSupported, debugIsOn, ghciTablesNextToCode, picIsOn,
+ ghciSupported, debugIsOn, ghciTablesNextToCode, isDynamicGhcLib,
isWindowsHost, isWindowsTarget, isDarwinTarget,
-- * General list processing
isWindowsHost, isWindowsTarget, isDarwinTarget,
-- * General list processing
@@
-141,11
+141,11
@@
ghciTablesNextToCode = True
ghciTablesNextToCode = False
#endif
ghciTablesNextToCode = False
#endif
-picIsOn :: Bool
-#ifdef __PIC__
-picIsOn = True
+isDynamicGhcLib :: Bool
+#ifdef DYNAMIC
+isDynamicGhcLib = True
#else
#else
-picIsOn = False
+isDynamicGhcLib = False
#endif
isWindowsHost :: Bool
#endif
isWindowsHost :: Bool