1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "enc/depend: fix out-of-src build with --with-static-linked-ext" (#5616)

This reverts commit 32ad8df9d1,
which broke out-of-src build with the pre-generated transcoder sources.
This commit is contained in:
Nobuyoshi Nakada 2022-03-02 18:19:01 +09:00 committed by GitHub
parent 2b5097b890
commit db740b7e5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2022-03-02 18:19:23 +09:00
Merged-By: nobu <nobu@ruby-lang.org>

View file

@ -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