diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-06-10 00:38:01 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-06-10 00:38:01 +0900 |
| commit | d6882f1b6574f2afe5539c3196a94f725ac46250 (patch) | |
| tree | 774074a5fb383106d3b588f4136cb65b1b29203e | |
| parent | 58e87996b9d4f3daea887af4de2749b44e084385 (diff) | |
| parent | c6d589e04900c0b90428d78931b7dfa3b4827b62 (diff) | |
| download | mruby-d6882f1b6574f2afe5539c3196a94f725ac46250.tar.gz mruby-d6882f1b6574f2afe5539c3196a94f725ac46250.zip | |
Merge pull request #2379 from monaka/pr-do-not-export-include-dir-in-gems-to-core
Do not export include/ dirs in mrbgems to core build.
| -rw-r--r-- | tasks/mrbgem_spec.rake | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake index 0c4dc85c0..5e2f3fe22 100644 --- a/tasks/mrbgem_spec.rake +++ b/tasks/mrbgem_spec.rake @@ -49,9 +49,6 @@ module MRuby def setup MRuby::Gem.current = self - @build.compilers.each do |compiler| - compiler.include_paths << "#{dir}/include" - end if File.directory? "#{dir}/include" MRuby::Build::COMMANDS.each do |command| instance_variable_set("@#{command}", @build.send(command).clone) end @@ -88,6 +85,7 @@ module MRuby compilers.each do |compiler| compiler.define_rules build_dir, "#{dir}" compiler.defines << %Q[MRBGEM_#{funcname.upcase}_VERSION=#{version}] + compiler.include_paths << "#{dir}/include" if File.directory? "#{dir}/include" end define_gem_init_builder |
