Issue #6768 has been reported by pedz (Perry Smith).

----------------------------------------
Bug #6768: Changes for r36338 are not complete
https://bugs.ruby-lang.org/issues/6768

Author: pedz (Perry Smith)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby_1_9_3 branch with changes


The changes for r36338 are incomplete.  TARGET is in enc/depend.  The general strategy of going from TARGET to TARGET_NAME to TARGET_ENTRY I think will create more and more issues.

The current changes causes enc.mk to not have the -eInit_foo in the ld call at all.  But changing the regular expression in depend from TARGET to TARGET_ENTRY will only lead to an error when make is called.

I'm wondering if enc/depend is a good idea at all.  It uses regular expressions to change what it assumes will be in various CONFIG values to make them different.  This makes things very fragile and the build process is not something that you want to introduce more fragility.



-- 
http://bugs.ruby-lang.org/