diff options
Diffstat (limited to 'util/kconfig/mconf-cfg.sh')
-rwxr-xr-x | util/kconfig/mconf-cfg.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/kconfig/mconf-cfg.sh b/util/kconfig/mconf-cfg.sh index b520e407a8..2047e626b4 100755 --- a/util/kconfig/mconf-cfg.sh +++ b/util/kconfig/mconf-cfg.sh @@ -33,6 +33,12 @@ if [ -f /usr/include/ncurses/ncurses.h ]; then exit 0 fi +# We'll want to be able to build on (Free)BSD: +if [ -f /usr/include/ncurses.h ]; then + echo libs=\"-lncurses\" + exit 0 +fi + # As a final fallback before giving up, check if $HOSTCC knows of a default # ncurses installation (e.g. from a vendor-specific sysroot). if echo '#include <ncurses.h>' | ${HOSTCC} -E - >/dev/null 2>&1; then |