On Wed, 30 Jul 2003 16:06:47 +0900, nobu.nokad wrote:

> Hi,
> 
> At Wed, 30 Jul 2003 11:11:59 +0900,
> Tim Hunter wrote:
>> > | This change is normal (in mkmf.rb)
>> > |
>> > |    1.6.8
>> > |
>> > |DLDFLAGS = #{$DLDFLAGS} #{$LDFLAGS}
>> > |
>> > |    1.8.0
>> > |
>> > |DLDFLAGS = #{CONFIG['DLDFLAGS']} #$DLDFLAGS
>> > |
>> > | If someone use $LDFLAGS in extconf.rb, he'll have surprise with
>> > | 1.8.0
>> > 
>> > I believe this change was made by Nobu, and was intentional.  Sorry
>> > for surprises if they happen.
>> > 
>> > 							matz.
>> 
>> Maybe I missed the answer to this, but what am I supposed to use instead
>> of $LDFLAGS in extconf.rb?
> 
> It was because that DLDFLAGS includes LDFLAGS for ruby itself was
> troublesome, but I'd change:
> 
> * DLDFLAGS in Makefile includes $LDFLAGS again, * $LDFLAGS isn't defaulted
> to LDFLAGS for ruby * but $DLDFLAGS is defaulted to DLDFLAGS.
> 
> Does Anyone have problem?

Thanks for your help, Nobu.