diff options
Diffstat (limited to 'ext')
-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 46dc760a31..e3bcb1f651 100644 --- a/ext/curses/extconf.rb +++ b/ext/curses/extconf.rb @@ -9,7 +9,7 @@ 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 |