
Indeed I want to point out that dynamic library locations are already handled differently between OS X and Linux in GHC(-head), not just Cabal: http://ghc.haskell.org/trac/ghc/ticket/8266#comment:14
So perhaps there should be a 'proper' fix/design on how to deal with dynamic library location in both GHC and Cabal.
-- Christiaan
On Nov 4, 2013, at 12:13 AM, Brandon Allbery
On Sun, Nov 3, 2013 at 5:05 PM, Albert Y. C. Lai
wrote: It is usually desirable to set RPATH to libs' installation locations rather than libs' build trees May I note that this is system dependent? OS X compiles in full paths (and DYLD_LIBRARY_PATH overrides these, which is part of why it's much more dangerous than Linux's LD_LIBRARY_PATH). On the other end, I don't think Windows has much of an RPATH mechanism at all.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe