Issue #8170 has been updated by zzak (Zachary Scott).

Status changed from Closed to Assigned

usa, please check r36338 as requested by edelsohn
----------------------------------------
Backport #8170: dot.dot Makefile references wrong TARGET
https://bugs.ruby-lang.org/issues/8170#change-38186

Author: edelsohn (David Edelsohn)
Status: Assigned
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/