diff options
Diffstat (limited to 'template')
| -rw-r--r-- | template/configure-ext.mk.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/template/configure-ext.mk.tmpl b/template/configure-ext.mk.tmpl index bc192a37ce..cabdb652fd 100644 --- a/template/configure-ext.mk.tmpl +++ b/template/configure-ext.mk.tmpl @@ -33,7 +33,9 @@ gems: % exts.each do |t, (o, dirs)| % dirs.each do |d| -% next if Dir.glob("#{srcdir}/#{d}/**/extconf.rb").empty? +% extconf = Dir.glob("#{srcdir}/#{d}/**/extconf.rb") +% next if extconf.empty? +% next if extconf.any?{|f| f.include?(".bundle/gems") && f.include?("test") } <%=t%>: <%=d%>/exts.mk <%=d%>/exts.mk: FORCE $(Q)$(MINIRUBY) $(srcdir)/ext/extmk.rb --make='$(MAKE)' \ |
