summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-05-02 09:09:17 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:20:48 +0900
commit3ec61c09294a399c38509629fccd7e223b762f35 (patch)
tree6823a05367d62be1b0025b7c340e1a8fa4a884e0
parent10b1a52bb88ac3a7443c91fd866f8724169a2586 (diff)
downloadmruby-3ec61c09294a399c38509629fccd7e223b762f35.tar.gz
mruby-3ec61c09294a399c38509629fccd7e223b762f35.zip
Update `host*` targets to use `default.gembox`.
And now `default.gembox` includes `mruby-socket` gem.
-rw-r--r--mrbgems/default.gembox3
-rw-r--r--target/host-debug.rb2
-rw-r--r--target/host-shared.rb2
-rw-r--r--target/host.rb2
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 => '[email protected]: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|