diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-12-19 17:28:53 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-19 17:28:53 +0900 |
| commit | fcc9b7fc2a6d32bd055bbb35396f3af62165a1cb (patch) | |
| tree | b0a8c53a491d599eb1456f4db14b5ac25c77c2d6 /lib | |
| parent | 340f1f0094b41c30dc2377cca4a18a6466828091 (diff) | |
| parent | 36376eba5fe40bf6715ae9b0c04e4e34b84ab212 (diff) | |
| download | mruby-fcc9b7fc2a6d32bd055bbb35396f3af62165a1cb.tar.gz mruby-fcc9b7fc2a6d32bd055bbb35396f3af62165a1cb.zip | |
Merge pull request #5230 from dearblue/mruby-config.2
Ignore `mruby-bin-config` in cross-building
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/mruby/build.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mruby/build.rb b/lib/mruby/build.rb index 83722a0e8..8fe1da2de 100644 --- a/lib/mruby/build.rb +++ b/lib/mruby/build.rb @@ -116,9 +116,10 @@ module MRuby @toolchains = [] @gem_dir_to_repo_url = {} - MRuby.targets[@name] = self.class.current = current = self + MRuby.targets[@name] = current = self end + MRuby::Build.current = current current.instance_eval(&block) current.build_mrbc_exec if current.libmruby_enabled? && @name == "host" current.build_mrbtest if current.test_enabled? |
