From db740b7e5ca0900898fdc93057d4892faad9b3a1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 2 Mar 2022 18:19:01 +0900 Subject: [PATCH] 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(' ')%> $(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