building against gmp in a nonstandard location
igloo at earth.li
Sun Mar 30 15:47:44 EDT 2008
On Sun, Mar 30, 2008 at 03:37:35PM -0400, Paul Jarc wrote:
> Ian Lynagh <igloo at earth.li> wrote:
> > the alternative would be to put the whole of $LDFLAGS into the Cabal
> > buildinfo, but that feels wrong to me.
> Why so? By setting LDFLAGS, isn't the user asking for exactly that -
> that those flags be used when linking?
Perhaps, but readline is only 1 component of what is being built. I
guess it would be unlikely to do any harm to use linker flags intended
for another component, though.
If we want to go this route then I think Cabal should pick up $LDFLAGS
automatically when building packages, though.
More information about the Glasgow-haskell-users