diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-05-17 18:41:21 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-05-18 14:33:00 +0900 |
commit | 9b3ed5a23fba68d364f5e2eea654fd75ce0ea0db (patch) | |
tree | 7651d5b66e9cc969cf55c7e8b5312b9e8550be1e /template | |
parent | 3db8db8a329d6bcc46b5aaf41571309a489540c7 (diff) |
Extract YJIT_LIBS directly without copying
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5914
Diffstat (limited to 'template')
-rw-r--r-- | template/Makefile.in | 3 |
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 |