Using cabal to 'install' a shared library for wxhaskell
2011-12-24 01:32:01 GMT
I've been working on a new development version of wxhaskell and one of my goals was to integrate previous work on using a shared library.
I'm please to report that I have more-or-less achieved this goal at least under Linux, but there is still some cleaning up to do.
After performing a cabal I end up with a .so file as expected, the only problem currently is that now whenever you compile something which uses wxhaskell you have to pass in an rpath to the .so in the cabal-dev / local / system packages location.
Obviously this .so somehow needs to end up where the system can find it, and I wondered if someone has already (or has ideas about how to) make this happen in cabal?
You can see where I believe it should fit in in the ldconfig function in Setup.hs.
_______________________________________________ Libraries mailing list Libraries <at> haskell.org http://www.haskell.org/mailman/listinfo/libraries