From aa21a775a652098d7c27ab86e365d205314685fd Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 19 Jun 2020 14:42:26 +0900 Subject: [PATCH] Configure only directories having extconf.rb --- template/configure-ext.mk.tmpl | 1 + 1 file changed, 1 insertion(+) 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)' \