From 9b3ed5a23fba68d364f5e2eea654fd75ce0ea0db Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 17 May 2022 18:41:21 +0900 Subject: [PATCH] Extract YJIT_LIBS directly without copying --- template/Makefile.in | 3 +-- 1 file changed, 1 insertion(+), 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