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:
parent
dfac2e9eb3
commit
b5d8849220
4 changed files with 6 additions and 27 deletions
|
@ -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 "}"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue