From 3ec61c09294a399c38509629fccd7e223b762f35 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sat, 2 May 2020 09:09:17 +0900 Subject: Update `host*` targets to use `default.gembox`. And now `default.gembox` includes `mruby-socket` gem. --- mrbgems/default.gembox | 3 +++ target/host-debug.rb | 2 +- target/host-shared.rb | 2 +- target/host.rb | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mrbgems/default.gembox b/mrbgems/default.gembox index de1e9a573..822ff8d38 100644 --- a/mrbgems/default.gembox +++ b/mrbgems/default.gembox @@ -5,6 +5,9 @@ MRuby::GemBox.new do |conf| # Use standard IO/File class conf.gem :core => "mruby-io" + # Use standard IO/File class + conf.gem :core => "mruby-socket" + # Use standard Array#pack, String#unpack methods conf.gem :core => "mruby-pack" diff --git a/target/host-debug.rb b/target/host-debug.rb index 4e89d162c..2fcb22e8f 100644 --- a/target/host-debug.rb +++ b/target/host-debug.rb @@ -11,7 +11,7 @@ MRuby::Build.new('host-debug') do |conf| enable_debug # include the default GEMs - conf.gembox 'full-core' + conf.gembox 'default' # C compiler settings conf.cc.defines = %w(MRB_ENABLE_DEBUG_HOOK) diff --git a/target/host-shared.rb b/target/host-shared.rb index c6b6eb3dc..87b317414 100644 --- a/target/host-shared.rb +++ b/target/host-shared.rb @@ -9,7 +9,7 @@ MRuby::Build.new do |conf| end # include the GEM box - conf.gembox 'full-core' + conf.gembox 'default' # C compiler settings conf.cc do |cc| diff --git a/target/host.rb b/target/host.rb index eb6e3c15f..4b12ab70a 100644 --- a/target/host.rb +++ b/target/host.rb @@ -20,7 +20,7 @@ MRuby::Build.new do |conf| # conf.gem :git => 'git@github.com:mattn/mruby-onig-regexp.git', :branch => 'master', :options => '-v' # include the GEM box - conf.gembox 'full-core' + conf.gembox 'default' # C compiler settings # conf.cc do |cc| -- cgit v1.2.3