From 2aa6b449a22d5f239cb91b91dcfb0c944c2b5665 Mon Sep 17 00:00:00 2001 From: wanabe Date: Sun, 13 Mar 2016 17:06:39 +0900 Subject: Reduce compiler include_paths --- tasks/mrbgem_spec.rake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tasks') diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake index e91823029..548f1e041 100644 --- a/tasks/mrbgem_spec.rake +++ b/tasks/mrbgem_spec.rake @@ -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 -- cgit v1.2.3