summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-06-16 00:08:28 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-06-16 00:08:28 +0900
commit43ed1e68a183a64237671bd7daa42dfb49950faa (patch)
tree0f61527c4cf1b338c7f479fe91b41e2b29e93f22
parentd09f097eec4fb85cbb43481bdc6d7fcc82f94697 (diff)
Make ext directory before extinit.c when out-of-place build
-rw-r--r--common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 5a5a5787d9..30380e0a4d 100644
--- a/common.mk
+++ b/common.mk
@@ -306,6 +306,7 @@ exts-note: $(EXTS_MK)
$(Q)$(MAKE) $(EXTS_NOTE)
ext/extinit.c: $(srcdir)/template/extinit.c.tmpl $(PREP)
+ $(MAKEDIRS) $(@D)
$(Q)$(MINIRUBY) $(tooldir)/generic_erb.rb -o $@ -c \
$(srcdir)/template/extinit.c.tmpl $(EXTINITS)