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
It looks like I am going to have to hack the shell script that calls ghc, because
it needs to set LD_LIBRARY_PATH so that the executables can find libreadline. Would
it be possible to have an option to ./configure that set a library path to be used
by these scripts?
ger:
It looks like I am going to have to hack the shell script that calls
ghc, because it needs to set LD_LIBRARY_PATH so that the executables
can find libreadline. Would it be possible to have an option to
./configure that set a library path to be used by these scripts?
I have to do a