mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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:
parent
0c36ba5319
commit
d020334e9e
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ module Reline::Terminfo
|
|||
when /darwin/
|
||||
%w[libncursesw.dylib libcursesw.dylib libncurses.dylib libcurses.dylib]
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue