X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/78981f18b8c54713cf5434184f65d83b4655d15e..405ff62784ca0e5ab00346208db710ba38f62f03:/scripts/config/lxdialog/check-lxdialog.sh?ds=sidebyside diff --git a/scripts/config/lxdialog/check-lxdialog.sh b/scripts/config/lxdialog/check-lxdialog.sh index 275e39542..9a6c915e5 100644 --- a/scripts/config/lxdialog/check-lxdialog.sh +++ b/scripts/config/lxdialog/check-lxdialog.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Check ncurses compatibility # What library to link @@ -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