diff options
| author | Huei-Horng Yo <[email protected]> | 2015-06-10 12:40:18 +0800 |
|---|---|---|
| committer | Huei-Horng Yo <[email protected]> | 2015-06-10 12:40:18 +0800 |
| commit | 2f4f36b3343872e7797768b4cd5f7e6b6a4505bb (patch) | |
| tree | a5ff3ad301c040c5fdb6783f1bc9eeca779cbf97 /mrbgems/mruby-bin-mirb | |
| parent | be2c156876c5b6cd4c9937c2d266f1862597af58 (diff) | |
| download | mruby-2f4f36b3343872e7797768b4cd5f7e6b6a4505bb.tar.gz mruby-2f4f36b3343872e7797768b4cd5f7e6b6a4505bb.zip | |
Remove unused libterminfo detection code.
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 <[email protected]>
Diffstat (limited to 'mrbgems/mruby-bin-mirb')
| -rw-r--r-- | mrbgems/mruby-bin-mirb/mrbgem.rake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mrbgems/mruby-bin-mirb/mrbgem.rake b/mrbgems/mruby-bin-mirb/mrbgem.rake index e77114515..dce832d98 100644 --- a/mrbgems/mruby-bin-mirb/mrbgem.rake +++ b/mrbgems/mruby-bin-mirb/mrbgem.rake @@ -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 |
