[ruby/reline] Workaround libncurses.so as a linker script
This maybe isn't probably isn't the best approach, but it will allow Fiddle::Terminfo.curses_dl to work. I documented more details about this in an issue on fiddle: https://github.com/ruby/fiddle/issues/107
Fiddle::Terminfo.curses_dl
It is probably better to deal with it there. But this is workaround is simpler.
FYI: reline itself seems to be working just fine for me without loading ncurses. But I wanted to be able to use Reline::Terminfo for my own projects. :)
reline
Reline::Terminfo
https://github.com/ruby/reline/commit/fd4bdb35e2
[ruby/reline] Workaround libncurses.so as a linker script
This maybe isn't probably isn't the best approach, but it will allow
Fiddle::Terminfo.curses_dl
to work. I documented more details aboutthis in an issue on fiddle: https://github.com/ruby/fiddle/issues/107
It is probably better to deal with it there. But this is workaround is
simpler.
FYI:
reline
itself seems to be working just fine for me withoutloading ncurses. But I wanted to be able to use
Reline::Terminfo
formy own projects. :)
https://github.com/ruby/reline/commit/fd4bdb35e2