X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f52d66ff00b24111f87c274d3d7085ef2e1d27b1..a33e79fbcb9b157574de4baaea87b5870e29d798:/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