summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-03-14 09:35:53 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2016-03-14 09:35:53 +0900
commit4f20d58ac231526e26ef113e7623dc75c1140335 (patch)
tree97740d9cadeca0d37f0ed808767fb380c4fbc1fc
parent41d6ba23b512147497589efbe87a445256d5b213 (diff)
parent2aa6b449a22d5f239cb91b91dcfb0c944c2b5665 (diff)
downloadmruby-4f20d58ac231526e26ef113e7623dc75c1140335.tar.gz
mruby-4f20d58ac231526e26ef113e7623dc75c1140335.zip
Merge pull request #3135 from wanabe/reduce-include-paths
Reduce compiler include_paths
-rw-r--r--tasks/mrbgem_spec.rake3
1 files changed, 3 insertions, 0 deletions
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