From: nbd Date: Fri, 13 Oct 2006 23:19:00 +0000 (+0000) Subject: improve ncurses check X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/e25497a46d3b77cdb008a5a98f857433660cc9d1?hp=4207ba105d13f78de371a6266452290c8d99eb43 improve ncurses check git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5064 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/scripts/config/lxdialog/check-lxdialog.sh b/scripts/config/lxdialog/check-lxdialog.sh index 275e39542..50c5ff358 100644 --- a/scripts/config/lxdialog/check-lxdialog.sh +++ b/scripts/config/lxdialog/check-lxdialog.sh @@ -34,7 +34,7 @@ ccflags() elif [ -f /usr/include/ncurses/curses.h ]; then echo '-I/usr/include/ncurses -DCURSES_LOC=""' elif [ -f /opt/local/include/ncurses/ncurses.h ]; then - echo '-I/opt/local/include/ncurses -DCURSES_LOC=""' + echo '-I/opt/local/include -I/opt/local/include/ncurses -DCURSES_LOC=""' elif [ -f /usr/include/ncurses.h ]; then echo '-DCURSES_LOC=""' else