mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Reduce compiler include_paths
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user