mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
don't embed full-path.
miniruby load *.rb from srcdir. To specify file path, tool/mk_builtin_loader.rb embed full path of each *.rb file. However it prevent to pre-generation of required files for tarball. This patch generate srcdir/*.rb from __FILE__ information.
This commit is contained in:
parent
3b6954f8b9
commit
dfac2e9eb3
4 changed files with 27 additions and 6 deletions
|
@ -18,7 +18,7 @@ builtin_lookup(const char *feature, size_t *psize)
|
|||
}
|
||||
|
||||
void
|
||||
rb_load_with_builtin_functions(const char *feature_name, const char *fname, const struct rb_builtin_function *table)
|
||||
rb_load_with_builtin_functions(const char *feature_name, const struct rb_builtin_function *table)
|
||||
{
|
||||
// search binary
|
||||
size_t size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue