Skip to content

Commit

Permalink
Reduce compiler include_paths
Browse files Browse the repository at this point in the history
  • Loading branch information
wanabe committed Mar 13, 2016
1 parent 41d6ba2 commit 2aa6b44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/mrbgem_spec.rake
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -413,9 +413,12 @@ module MRuby
# as circular dependency has already detected in the caller. # as circular dependency has already detected in the caller.
import_include_paths(dep_g) import_include_paths(dep_g)


dep_g.export_include_paths.uniq!
g.compilers.each do |compiler| g.compilers.each do |compiler|
compiler.include_paths += dep_g.export_include_paths compiler.include_paths += dep_g.export_include_paths
g.export_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 end
end end
Expand Down

0 comments on commit 2aa6b44

Please sign in to comment.