summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-13 23:19:00 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-13 23:19:00 +0000
commite25497a46d3b77cdb008a5a98f857433660cc9d1 (patch)
tree47a78adf461128832ef1e117ffb579d396d13f18 /scripts
parent4207ba105d13f78de371a6266452290c8d99eb43 (diff)
improve ncurses check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5064 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 275e395422..50c5ff358b 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