Ticket #24240: patch-lib-mkmf.rb.diff

File patch-lib-mkmf.rb.diff, 460 bytes (added by cdavis@…, 15 years ago)

Patch file for ruby that fixes problems with CPP

  • lib/mkmf.rb

    old new  
    331331
    332332def cpp_command(outfile, opt="")
    333333  conf = Config::CONFIG.merge('hdrdir' => $hdrdir.quote, 'srcdir' => $srcdir.quote)
    334   Config::expand("$(CPP) #$INCFLAGS #$CPPFLAGS #$CFLAGS #{opt} #{CONFTEST_C} #{outfile}",
     334  Config::expand("$(CPP) #$INCFLAGS #$CPPFLAGS #{opt} #{CONFTEST_C} #{outfile}",
    335335                 conf)
    336336end
    337337