From dfac2e9eb3d697e56d91151584f1d3cf9d2c79c9 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Sat, 9 Nov 2019 06:55:38 +0900 Subject: 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. --- builtin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin.c') diff --git a/builtin.c b/builtin.c index bcc5dc61a4..d936d1ceb6 100644 --- a/builtin.c +++ b/builtin.c @@ -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; -- cgit v1.2.1