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:
Koichi Sasada 2019-11-09 06:55:38 +09:00
parent 3b6954f8b9
commit dfac2e9eb3
4 changed files with 27 additions and 6 deletions

View file

@ -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;