X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/78981f18b8c54713cf5434184f65d83b4655d15e..81279ca0f1fc542b4eaac5e55a2a850a1f3063ff:/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