Commit 06fec34e authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #727 from mattn/dep_gems

Add dependency to build gems list
parents 45394697 33d843d1
...@@ -8,7 +8,8 @@ load 'tasks/mruby_gem_spec.rake' ...@@ -8,7 +8,8 @@ load 'tasks/mruby_gem_spec.rake'
############################## ##############################
# compile flags # compile flags
load File.expand_path(ENV['CONFIG'] || './build_config.rb') MRUBY_CONFIG = File.expand_path(ENV['MRUBY_CONFIG'] || './build_config.rb')
load MRUBY_CONFIG
load 'tasks/rules.rake' load 'tasks/rules.rake'
load 'src/mruby_core.rake' load 'src/mruby_core.rake'
......
...@@ -83,7 +83,7 @@ MRuby::CrossBuild.new('i386') do |conf| ...@@ -83,7 +83,7 @@ MRuby::CrossBuild.new('i386') do |conf|
end end
``` ```
You can configurate the same options as for a normal build. You can configurate the same options as for a normal build. You can specified your own build_config.rb with *$MRUBY_CONFIG*.
## Build process ## Build process
......
...@@ -29,5 +29,7 @@ mrb_init_mrbgems(mrb_state *mrb) { ...@@ -29,5 +29,7 @@ mrb_init_mrbgems(mrb_state *mrb) {
__EOF__ __EOF__
end end
end end
file "#{build_dir}/mrbgems/gem_init.c" => MRUBY_CONFIG
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment