Skip to content

Commit

Permalink
Remove unused libterminfo detection code.
Browse files Browse the repository at this point in the history
The detection code is unused even on OpenBSD 5.7,
because of the standard installation is libtermcap be installed, not libterminfo.

This fixes #2829

Tested on Arch Linux (x86_64) & OpenBSD 5.7 (amd64).

Signed-off-by: Huei-Horng Yo <hiroshi@ghostsinthelab.org>
  • Loading branch information
hiroshiyui committed Jun 10, 2015
1 parent be2c156 commit 2f4f36b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mrbgems/mruby-bin-mirb/mrbgem.rake
Expand Up @@ -10,8 +10,6 @@ MRuby::Gem::Specification.new('mruby-bin-mirb') do |spec|
if spec.build.cc.search_header_path 'termcap.h'
if MRUBY_BUILD_HOST_IS_CYGWIN then
spec.linker.libraries << 'ncurses'
elsif spec.linker.has_library('libterminfo') then
spec.linker.libraries << 'terminfo'
else
spec.linker.libraries << 'termcap'
end
Expand Down

0 comments on commit 2f4f36b

Please sign in to comment.