Permalink
Browse files

Separate compilers setup from config setup

Fixes #3418.
  • Loading branch information...
palkan committed Feb 13, 2017
1 parent 30aa521 commit 131566753dc497fa2b4d7159eeed61bb9e2a1885
Showing with 4 additions and 0 deletions.
  1. +4 −0 tasks/mrbgem_spec.rake
View
@@ -90,7 +90,9 @@ module MRuby
build.libmruby << @objs
instance_eval(&@build_config_initializer) if @build_config_initializer
end
def setup_compilers
compilers.each do |compiler|
compiler.define_rules build_dir, "#{dir}"
compiler.defines << %Q[MRBGEM_#{funcname.upcase}_VERSION=#{version}]
@@ -419,6 +421,8 @@ module MRuby
@ary = tsort_dependencies gem_table.keys, gem_table, true
each(&:setup_compilers)
each do |g|
import_include_paths(g)
end

0 comments on commit 1315667

Please sign in to comment.