Skip to content
Permalink
Browse files
Reduce compiler include_paths
  • Loading branch information
wanabe committed Mar 13, 2016
1 parent 41d6ba2 commit 2aa6b449a22d5f239cb91b91dcfb0c944c2b5665
Showing 1 changed file with 3 additions and 0 deletions.
@@ -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

0 comments on commit 2aa6b44

Please sign in to comment.