> I have to do a similar thing on OpenBSD, to use an external libgmp > residing in /usr/local/lib. But no real hacking is required! > > When compiling GHC, before you start, add something like: > > , "-L", "/usr/local/lib" > > to somewhere down around line 137 of ghc/rts/package.conf.in.
More correctly, the directory should be added to the 'library_dirs' field of the package configuration for the appropriate package (readline, in the case of the original report). Cheers, Simon _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs