On Thu, Sep 09, 2004 at 11:48:44AM +0900, nobu.nokada / softhome.net wrote:
> Hi,
> 
> At Wed, 8 Sep 2004 23:24:20 +0900,
> Michal 'hramrach' Suchanek wrote in [ruby-talk:111872]:
> > > > It looks like a little bug in mkmf.rb
> > > > DLDFLAGS comes out empty in the Makefile
> > > 
> > > DLDFLAGS is different from LDFLAGS.  Use DLDFLAGS to pass
> > > options to the linker for shared objects.
> > 
> > I know it is different and I do not use it directly, it is used when
> > building the bundled ruby extensions.
> > 
> > And the problem is it is empty which is definitely bad given how complex
> > expression was used to construct the empty string.
> 
> $ ./configure DLDFLAGS="..."
> 
> Or, you can override it by --with-dldflags option at running
> extconf.rb.
No, you cannot. Or at least should not.
That is the problem.
Look at the original mail with the patch and description. It makes the
DLDFLAGS actually contain something.

Thanks
Michal Suchanek