bug-7279.diff

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

Download (730 Bytes)

View differences:

lib/mkmf.rb
317 317
                              'CFLAGS' => "#$CFLAGS",
318 318
                              'ARCH_FLAG' => "#$ARCH_FLAG",
319 319
                              'LDFLAGS' => "#$LDFLAGS #{ldflags}",
320
                              'LIBPATH' => libpathflag(libpath),
321 320
                              'LOCAL_LIBS' => "#$LOCAL_LIBS #$libs",
322 321
                              'LIBS' => "#$LIBRUBYARG_STATIC #{opt} #$LIBS")
322
  conf['LIBPATH'] = libpath.map {|s| LIBPATHFLAG % RbConfig::expand(s.dup, conf).quote}.join("")
323 323
  Config::expand(TRY_LINK.dup, conf)
324 324
end
325 325