Ruby won't build tcl/tk extension, libpathflag expects array
I wasn't successful building Ruby tcl/tk extension from trunk, since the last revision switched to use libpathflag method
that expects an array, but on my Fedora "/usr/lib64":String would be passed to the method.
I believe the method should be accepting strings for single path as well (rather than fixing the commit by ensuring that an Array is passed).
What do you think? Without the patch I am including I can't build Ruby with tcl/tk ext on Fedora.
Updated by jstribny (Josef Stribny) over 6 years ago
- File 0001-Fix-tk-extconf-to-pass-arrays-instead-of-strings-to-.patch 0001-Fix-tk-extconf-to-pass-arrays-instead-of-strings-to-.patch added
Including alternative patch if we don't want to change the mkmf. This just fixes the revision.
Updated by nobu (Nobuyoshi Nakada) over 6 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r44541.
Josef, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
tk/extconf.rb: fix libpathflag arguments
- ext/tk/extconf.rb: fix to pass arrays instead of strings to libpathflag. patch at [ruby-core:59665]. [Bug #9386]