31 Mar
2008
31 Mar
'08
3:47 a.m.
On Sun, Mar 30, 2008 at 03:37:35PM -0400, Paul Jarc wrote:
Ian Lynagh
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. Thanks Ian