summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-19 14:42:26 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-19 15:13:59 +0900
commitaa21a775a652098d7c27ab86e365d205314685fd (patch)
tree17f6136f826295038f9c222d84aaf00ec11b4630 /template
parent1e7c0ccb0dbe4d65f914a3547aa6ea2503199f01 (diff)
Configure only directories having extconf.rb
Diffstat (limited to 'template')
-rw-r--r--template/configure-ext.mk.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/configure-ext.mk.tmpl b/template/configure-ext.mk.tmpl
index 630e4a10dc..9921e2225b 100644
--- a/template/configure-ext.mk.tmpl
+++ b/template/configure-ext.mk.tmpl
@@ -32,6 +32,7 @@ gems:
% exts.each do |t, (o, dirs)|
% dirs.each do |d|
+% next if Dir.glob("#{srcdir}/#{d}/**/extconf.rb").empty?
<%=t%>: <%=d%>/exts.mk
<%=d%>/exts.mk: FORCE
$(Q)$(MINIRUBY) $(srcdir)/ext/extmk.rb --make='$(MAKE)' \