Backport #8170
closeddot.dot Makefile references wrong TARGET
Description
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.
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
- Tracker changed from Bug to Backport
- Project changed from Ruby master to Backport193
- Status changed from Open to Assigned
- Assignee set to usa (Usaku NAKAMURA)
Updated by usa (Usaku NAKAMURA) over 11 years ago
- Status changed from Assigned to Closed
This issue was solved with changeset r40053.
, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
merge revision(s) 36432: [Backport #6734]
* configure.in (EXTDLDFLAGS): split options for each extension
libraries, and unused in ruby.pc. [Bug #6734]
* lib/mkmf.rb (MakeMakefile#configuration): add EXTDLDFLAGS.
Updated by edelsohn (David Edelsohn) over 11 years ago
Nakamura-san, the backported patch is insufficient to fix the problem on AIX, it also needs to merge revision 36338 for Bug #6709.
Updated by zzak (zzak _) over 11 years ago
- Status changed from Closed to Assigned
usa, please check r36338 as requested by edelsohn
Updated by usa (Usaku NAKAMURA) over 11 years ago
- Status changed from Assigned to Closed
Thank you for your report.
I hope this resolved at r40093 (p409).