summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorYuta Saito <kateinoigakukun@gmail.com>2022-03-07 05:44:57 +0000
committerYuta Saito <kateinoigakukun@gmail.com>2022-03-09 22:43:02 +0900
commit77f3f8a1d4f45d06df6cfea2bac3a67867c19efb (patch)
treed34f955d5ea96d16d20471a0a9d404c2fa1fbd8e /common.mk
parentb068a53dc9f38e98141c8b43249c73289af557bb (diff)
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
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5627
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 96599d5aff..96ecd4b129 100644
--- a/common.mk
+++ b/common.mk
@@ -305,7 +305,7 @@ configure-ext: $(EXTS_MK)
build-ext: $(EXTS_MK)
$(Q)$(MAKE) -f $(EXTS_MK) $(mflags) libdir="$(libdir)" LIBRUBY_EXTS=$(LIBRUBY_EXTS) \
- EXTENCS="$(ENCOBJS)" UPDATE_LIBRARIES=no $(EXTSTATIC)
+ EXTENCS="$(ENCOBJS)" MINIRUBY="$(MINIRUBY)" UPDATE_LIBRARIES=no $(EXTSTATIC)
$(Q)$(MAKE) $(EXTS_NOTE)
exts-note: $(EXTS_MK)