locateOneObj: don't look for dynamic libs in static mode
authorSimon Marlow <marlowsd@gmail.com>
Sun, 3 Jan 2010 22:36:37 +0000 (22:36 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Sun, 3 Jan 2010 22:36:37 +0000 (22:36 +0000)
commitcd24d61675e2f5c9145efcac62f64347789e583c
tree7c6694acd631be8d5ee8b84f1d10e4cf4a7e3e6e
parentb06d623b2e367a572de5daf06d6a0b12c2740471
locateOneObj: don't look for dynamic libs in static mode
also replace picIsOn with isDynamicGhcLib, as __PIC__ is not the
correct test for whether the GHC library is dynamically linked.
compiler/ghci/Linker.lhs
compiler/utils/Util.lhs