ruby-changes:71314
From: Nobuyoshi <ko1@a...>
Date: Wed, 2 Mar 2022 18:19:17 +0900 (JST)
Subject: [ruby-changes:71314] db740b7e5c (master): Revert "enc/depend: fix out-of-src build with --with-static-linked-ext" (#5616)
https://git.ruby-lang.org/ruby.git/commit/?id=db740b7e5c From db740b7e5ca0900898fdc93057d4892faad9b3a1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 2 Mar 2022 18:19:01 +0900 Subject: Revert "enc/depend: fix out-of-src build with --with-static-linked-ext" (#5616) This reverts commit 32ad8df9d1e07e1b2435a8890d070802fcd2989f, which broke out-of-src build with the pre-generated transcoder sources. --- enc/depend | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/enc/depend b/enc/depend index 60d4e82eac..60c5a3ebb2 100644 --- a/enc/depend +++ b/enc/depend @@ -143,17 +143,11 @@ enc/<%=e%>.$(OBJEXT): <%=deps.map {|n| rule_subst % n}.join(' ')%> https://github.com/ruby/ruby/blob/trunk/enc/depend#L143 $(Q)<%=cmd%> % end -% (ENCS + ["trans/transdb"]).each do |e| +% dependencies.each do |e| <%="enc/#{e}.$(OBJEXT)"%>: <%="$(encsrcdir)/#{e}.c"%> $(ECHO) compiling <%= "$(encsrcdir)/#{e}.c"%> $(Q)<%=COMPILE_C.gsub(/\$(\()?<(\:[^)]+)?(\))?/){"$(encsrcdir)/#{e}.c"}%> -% end -% ATRANS.each do |e| -<%="enc/trans/#{e}.$(OBJEXT)"%>: <%=transvpath % "#{e}.c"%> - $(ECHO) compiling <%=transvpath % "#{e}.c"%> - $(Q)<%=COMPILE_C.gsub(/\$(\()?<(\:[^)]+)?(\))?/){ transvpath % "#{e}.c"}%> - % end enc/encdb.$(OBJEXT): encdb.h -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/