summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-05-17 18:41:21 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-05-18 14:33:00 +0900
commit9b3ed5a23fba68d364f5e2eea654fd75ce0ea0db (patch)
tree7651d5b66e9cc969cf55c7e8b5312b9e8550be1e /template
parent3db8db8a329d6bcc46b5aaf41571309a489540c7 (diff)
downloadruby-9b3ed5a23fba68d364f5e2eea654fd75ce0ea0db.tar.gz
Extract YJIT_LIBS directly without copying
Diffstat (limited to 'template')
-rw-r--r--template/Makefile.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/template/Makefile.in b/template/Makefile.in
index 3cfc745bd5..82ca3480c0 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -311,8 +311,7 @@ $(LIBRUBY_A):
echo 'merging $(YJIT_LIBS) into $@' && \
$(RMALL) libyjit/ && \
$(MAKEDIRS) libyjit/ && \
- $(CP) '$(YJIT_LIBS)' libyjit/ && \
- (cd libyjit/ && $(AR) -x libyjit.a) && \
+ (cd libyjit/ && $(AR) -x ../$(YJIT_LIBS)) && \
: "$(AR) $(ARFLAGS) $@ libyjit/*.$(OBJEXT)" && \
find libyjit/ -name '*.$(OBJEXT)' -exec $(AR) $(ARFLAGS) $@ '{}' '+' ; \
fi