X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/f52d66ff00b24111f87c274d3d7085ef2e1d27b1..6ad8779764274df042b2a3ab03bc990c1066c476:/scripts/config/lxdialog/check-lxdialog.sh 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