summaryrefslogtreecommitdiff
path: root/template/exts.mk.tmpl
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2022-10-18 21:27:33 +0900
committernagachika <nagachika@ruby-lang.org>2022-10-18 21:27:33 +0900
commitb4f8f4ce85c8adcba11931422b065aac6f06f50b (patch)
tree8323efd494aacccdf24524b6053b39b8e025e541 /template/exts.mk.tmpl
parent9fc7df7504f41a7f370e62a004c3fc0abc439295 (diff)
merge revision(s) 77f3f8a1d4f45d06df6cfea2bac3a67867c19efb:
exts.mk.tmpl: propagate MINIRUBY to enc.mk even though invoking from exts.mk This is another attempt to fix out-of-src build with --with-static-linked-ext. The first attempt was 4f1888bda70981d9f5b1bf55ab692e0ce18e79f4 but reverted because it broke out-of-src build from pre-generated sources via `make dist`. This patch fixes the second trans C source gen, mentioned in the previous commit message, by passing MINIRUBY as well as when invoking from common.mk --- common.mk | 2 +- template/exts.mk.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Diffstat (limited to 'template/exts.mk.tmpl')
-rw-r--r--template/exts.mk.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/exts.mk.tmpl b/template/exts.mk.tmpl
index 2bee7afe0a..c5f8478d76 100644
--- a/template/exts.mk.tmpl
+++ b/template/exts.mk.tmpl
@@ -132,7 +132,7 @@ distclean:
% end
libencs:
- $(Q)$(MAKE)<%=mflags%> -f enc.mk V=$(V) $@
+ $(Q)$(MAKE)<%=mflags%> -f enc.mk V=$(V) MINIRUBY="$(MINIRUBY)" $@
ext/extinit.<%=objext%>:
$(Q)$(MAKE)<%=mflags%> V=$(V) EXTINITS="$(EXTINITS)" $@