[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

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. :)

https://github.com/ruby/reline/commit/fd4bdb35e2
This commit is contained in:
nicholas a. evans 2022-04-06 18:31:48 -04:00 коммит произвёл git
Родитель 0c36ba5319
Коммит d020334e9e
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -24,7 +24,8 @@ module Reline::Terminfo
when /darwin/ when /darwin/
%w[libncursesw.dylib libcursesw.dylib libncurses.dylib libcurses.dylib] %w[libncursesw.dylib libcursesw.dylib libncurses.dylib libcurses.dylib]
else else
%w[libncursesw.so libcursesw.so libncurses.so libcurses.so] %w[libncursesw.so libcursesw.so libncurses.so libcurses.so
libncursesw.so.6 libncurses.so.6]
end end
end end