[前][次][番号順一覧][スレッド一覧]

ruby-changes:66492

From: Nobuyoshi <ko1@a...>
Date: Wed, 16 Jun 2021 00:08:59 +0900 (JST)
Subject: [ruby-changes:66492] 43ed1e68a1 (master): Make ext directory before extinit.c when out-of-place build

https://git.ruby-lang.org/ruby.git/commit/?id=43ed1e68a1

From 43ed1e68a183a64237671bd7daa42dfb49950faa Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 16 Jun 2021 00:08:28 +0900
Subject: Make ext directory before extinit.c when out-of-place build

---
 common.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common.mk b/common.mk
index 5a5a578..30380e0 100644
--- a/common.mk
+++ b/common.mk
@@ -306,6 +306,7 @@ exts-note: $(EXTS_MK) https://github.com/ruby/ruby/blob/trunk/common.mk#L306
 	$(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)
 
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]