summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-13 23:19:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-13 23:19:00 +0000
commitdfcaae5b1984db78c5bd881d6c2f8b561e0f0da2 (patch)
treecd08453f5098ea98d613d898184c2a9202eba6c3 /scripts
parentd16b2dd50e6f036b56df044f25f7200cdcb5a931 (diff)
downloadmtk-20170518-dfcaae5b1984db78c5bd881d6c2f8b561e0f0da2.zip
mtk-20170518-dfcaae5b1984db78c5bd881d6c2f8b561e0f0da2.tar.gz
mtk-20170518-dfcaae5b1984db78c5bd881d6c2f8b561e0f0da2.tar.bz2
improve ncurses check
SVN-Revision: 5064
Diffstat (limited to 'scripts')
-rw-r--r--scripts/config/lxdialog/check-lxdialog.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config/lxdialog/check-lxdialog.sh b/scripts/config/lxdialog/check-lxdialog.sh
index 275e395..50c5ff3 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="<ncurses/curses.h>"'
elif [ -f /opt/local/include/ncurses/ncurses.h ]; then
- echo '-I/opt/local/include/ncurses -DCURSES_LOC="<ncurses/ncurses.h>"'
+ echo '-I/opt/local/include -I/opt/local/include/ncurses -DCURSES_LOC="<ncurses/ncurses.h>"'
elif [ -f /usr/include/ncurses.h ]; then
echo '-DCURSES_LOC="<ncurses.h>"'
else