kconfig/lxdialog: rationalise the include paths where to find {.n}curses{,w}.h
No binary (build failed)
—
(log yok)
| @@ -22,12 +22,12 @@ ldflags() | |
| ccflags() | |
| { | |
| if [ -f /usr/include/ncursesw/curses.h ]; then | |
| - | echo '-I/usr/include/ncursesw -DCURSES_LOC="<ncursesw/curses.h>"' |
| + | echo '-I/usr/include/ncursesw -DCURSES_LOC="<curses.h>"' |
| echo ' -DNCURSES_WIDECHAR=1' | |
| elif [ -f /usr/include/ncurses/ncurses.h ]; then | |
| echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>"' | |
| elif [ -f /usr/include/ncurses/curses.h ]; then | |
| - | echo '-I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"' |
| + | echo '-I/usr/include/ncurses -DCURSES_LOC="<curses.h>"' |
| elif [ -f /usr/include/ncurses.h ]; then | |
| echo '-DCURSES_LOC="<ncurses.h>"' | |
| else | |