bug-7737.diff

Nobuyoshi Nakada, 01/28/2013 05:31 PM

Download (586 Bytes)

View differences:

lib/mkmf.rb
457 457
                                  'LDFLAGS' => "#$LDFLAGS #{ldflags}",
458 458
                                  'LOCAL_LIBS' => "#$LOCAL_LIBS #$libs",
459 459
                                  'LIBS' => "#{librubyarg} #{opt} #$LIBS")
460
    conf['LIBPATH'] = libpathflag(libpath.map {|s| RbConfig::expand(s.dup, conf)})
460
    conf['LIBPATH'] = libpath.map {|s| LIBPATHFLAG % RbConfig::expand(s.dup, conf).quote}.join("")
461 461
    RbConfig::expand(TRY_LINK.dup, conf)
462 462
  end
463 463