diff options
Diffstat (limited to 'ext/curses/extconf.rb')
-rw-r--r-- | ext/curses/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curses/extconf.rb b/ext/curses/extconf.rb index 799d1bfe5f..a8374a86fd 100644 --- a/ext/curses/extconf.rb +++ b/ext/curses/extconf.rb @@ -8,7 +8,7 @@ make=false headers = [] have_library("mytinfo", "tgetent") if /bow/ =~ RUBY_PLATFORM have_library("tinfo", "tgetent") or have_library("termcap", "tgetent") -if have_header(*curses=%w"ncurses.h") and have_library("ncurses", "initscr") +if have_header(*curses=%w"ncurses.h") and (have_library("ncursesw", "initscr") or have_library("ncurses", "initscr")) make=true elsif have_header(*curses=%w"ncurses/curses.h") and have_library("ncurses", "initscr") make=true |