mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
a C source code must end with EOL
cf: ISO 9899 section 5.1.1.2 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1aaeeb326e
commit
a5c76f8cfc
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class TestMkmf
|
|||
FileUtils.mkdir_p(hdrdir)
|
||||
File.write("#{hdrdir}/#{hdrname}", "")
|
||||
src = "#{fwdir}/main.c"
|
||||
File.write(src, "void #{fw}(void) {}")
|
||||
File.write(src, "void #{fw}(void) {}\n")
|
||||
cmd = LINK_SO.dup
|
||||
RbConfig.expand(cmd, RbConfig::CONFIG.merge("OBJS"=>src))
|
||||
cmd.gsub!("$@", "#{fwdir}/#{fw}")
|
||||
|
|
Loading…
Reference in a new issue