Issue #8170 has been updated by edelsohn (David Edelsohn).


Nakamura-san, the backported patch is insufficient to fix the problem on AIX, it also needs to merge revision 36338 for Bug #6709.
----------------------------------------
Backport #8170: dot.dot Makefile references wrong TARGET
https://bugs.ruby-lang.org/issues/8170#change-38114

Author: edelsohn (David Edelsohn)
Status: Closed
Priority: Normal
Assignee: usa (Usaku NAKAMURA)
Category: 
Target version: 


ext/-test-/load/dot.dot produces a Makefile that includes the following definitions:

dldflags = -eInit_$(TARGET)
TARGET = dot.dot

However, the function defined in the source file does not match the file name and function name used to form the TARGET:

void Init_dot(void) {}

This causes a link error on AIX when building Ruby.



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