On Mon, Nov 01, 2004 at 02:24:30AM +0900, Nobuyoshi Nakada wrote:
> Hi,
> 
> At Sat, 30 Oct 2004 07:34:27 +0900,
> Michal 'hramrach' Suchanek wrote in [ruby-talk:118328]:
> > Does anybody know why ruby does not support LDFLAGS?
> > I am again installing in an environment where libraries are mostly in a
> > non-standard location - BSD.
> > I found I can pass arguments to configure, one for each extension that
> > requires a library from /usr/pkg/lib. But that means I have to name all
> > the extensions and if one is later added I have to find the argument
> > name for it.
> 
> Use DLDFLAGS for extensions instead of LDFLAGS.  The latter is
> for executable files, and some platforms require different
> flags to link shared objects.

And what flags do I use to propagate my favourite library paths into
mkmf link tests?

You know, there is no point having the library path added to the final
link if that never happens because extconf does not find the library in
the first place.

Thanks 

Michal Suchanek