1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "don't embed full-path."

This reverts commit dfac2e9eb3.

It does not work if cwd is different from builddir...
This commit is contained in:
Koichi Sasada 2019-11-09 07:09:01 +09:00
parent dfac2e9eb3
commit b5d8849220
4 changed files with 6 additions and 27 deletions

View file

@ -67,9 +67,10 @@ def mk_builtin_header file
f.puts "COMPILER_WARNING_POP"
path = File.expand_path(file)
f.puts
f.puts " // load"
f.puts " rb_load_with_builtin_functions(\"#{base}\", #{table});"
f.puts " rb_load_with_builtin_functions(\"#{base}\", \"#{file}\", #{table});"
f.puts "}"
}