diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-03-02 18:19:01 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-02 18:19:01 +0900 |
commit | db740b7e5ca0900898fdc93057d4892faad9b3a1 (patch) | |
tree | 5448ae15d5ca4030761709e27ecdbe2f3cafb017 /enc | |
parent | 2b5097b890161ddcb1ae9619699126f95a783bbd (diff) |
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.
Notes
Notes:
Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to 'enc')
-rw-r--r-- | enc/depend | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/enc/depend b/enc/depend index 60d4e82eac..60c5a3ebb2 100644 --- a/enc/depend +++ b/enc/depend @@ -143,18 +143,12 @@ 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 enc/trans/transdb.$(OBJEXT): transdb.h |