Fresh fixes for rdc from sn9, thanks !
[openwrt.git] / scripts / config / lxdialog / check-lxdialog.sh
index 275e395..9a6c915 100644 (file)
@@ -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="<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
This page took 0.02116 seconds and 4 git commands to generate.