Merge pull request #3135 from wanabe/reduce-include-paths

Reduce compiler include_paths
This commit is contained in:
Yukihiro "Matz" Matsumoto
2016-03-14 09:35:53 +09:00
+3
View File
@@ -413,9 +413,12 @@ module MRuby
# as circular dependency has already detected in the caller.
import_include_paths(dep_g)
dep_g.export_include_paths.uniq!
g.compilers.each do |compiler|
compiler.include_paths += dep_g.export_include_paths
g.export_include_paths += dep_g.export_include_paths
compiler.include_paths.uniq!
g.export_include_paths.uniq!
end
end
end