diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-19 14:42:26 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-19 15:13:59 +0900 |
commit | aa21a775a652098d7c27ab86e365d205314685fd (patch) | |
tree | 17f6136f826295038f9c222d84aaf00ec11b4630 | |
parent | 1e7c0ccb0dbe4d65f914a3547aa6ea2503199f01 (diff) | |
download | ruby-aa21a775a652098d7c27ab86e365d205314685fd.tar.gz |
Configure only directories having extconf.rb
-rw-r--r-- | template/configure-ext.mk.tmpl | 1 |
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)' \ |