* lib/mkmf.rb (#link_command): should dup CONFTEST_C which is

frozen.  ref  [ruby-core:23675].  [ruby-core:23702]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2009-06-04 22:15:03 +00:00
parent 0d28ad1985
commit fbd58422de
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Jun 5 07:12:32 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/mkmf.rb (#link_command): should dup CONFTEST_C which is
frozen. ref [ruby-core:23675]. [ruby-core:23702]
Thu Jun 4 02:25:51 2009 Yukihiro Matsumoto <matz@ruby-lang.org> Thu Jun 4 02:25:51 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/base64.rb: typo fixed. a patch from okkez. [ruby-dev:38564] * lib/base64.rb: typo fixed. a patch from okkez. [ruby-dev:38564]

View File

@ -371,7 +371,7 @@ end
def link_command(ldflags, opt="", libpath=$DEFLIBPATH|$LIBPATH) def link_command(ldflags, opt="", libpath=$DEFLIBPATH|$LIBPATH)
conf = RbConfig::CONFIG.merge('hdrdir' => $hdrdir.quote, conf = RbConfig::CONFIG.merge('hdrdir' => $hdrdir.quote,
'src' => CONFTEST_C, 'src' => "#{CONFTEST_C}",
'arch_hdrdir' => "#$arch_hdrdir", 'arch_hdrdir' => "#$arch_hdrdir",
'top_srcdir' => $top_srcdir.quote, 'top_srcdir' => $top_srcdir.quote,
'INCFLAGS' => "#$INCFLAGS", 'INCFLAGS' => "#$INCFLAGS",