[Hugs] #49: LDFLAGS and hugs packages on OS X 10.4

Ross Paterson ross at soi.city.ac.uk
Fri Nov 24 07:29:56 EST 2006

On Fri, Nov 24, 2006 at 10:30:16AM -0000, Hugs wrote:
> #49: LDFLAGS and hugs packages on OS X 10.4
> The value of the environnment variable LDFLAGS is not used to compile
>  hug's packages. Consequently, make fails to build X11 package (on OS X
>  10.4.8)
> [...]
> My LDFLAGS variable whose value is "-L/usr/X11R6/lib -L/Users/julien/local/lib" has not been used.
> Simply add -L/usr/X11R6/lib to the gcc command and it compile fine.

This is really an issue between Cabal and the packages.  I presume
it's expected that LDFLAGS will be used because configure uses it.
So should Cabal use LDFLAGS, or should packages that use autoconf add
LDFLAGS to ld-options?

More information about the Libraries mailing list