diff options
Diffstat (limited to 'adk/config')
-rw-r--r-- | adk/config/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/adk/config/Makefile b/adk/config/Makefile index 989dbeee8..336b1f179 100644 --- a/adk/config/Makefile +++ b/adk/config/Makefile @@ -17,6 +17,9 @@ ifeq (/usr/lib/libtinfo.so, $(wildcard /usr/lib/libtinfo.so)) LIBS+= -ltinfo endif +ifeq (/usr/include/ncursesw/curses.h, $(wildcard /usr/include/ncursesw/curses.h)) +HOST_CFLAGS+= -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>" +else ifeq (/usr/include/ncurses/ncurses.h, $(wildcard /usr/include/ncurses/ncurses.h)) HOST_CFLAGS+= -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" else @@ -49,6 +52,7 @@ endif endif endif endif +endif CONF_SRC =conf.c MCONF_SRC =mconf.c $(wildcard lxdialog/*.c) |