menuconfig: Add a fallback for linking on non-Linux systems

The check-lxdialog.sh script currently fails if there is no working
lib<whatever>curses.so in any of the places where Linux distributions
usually install those; instead of trying lots more paths and possible
shared library names, use "-lcurses" instead -- the user will hopefully
understand why it failed if the build doesn't work with that.

Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>


git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@32 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Segher Boessenkool 2006-11-06 23:58:16 +00:00
commit 234a267b5a

View file

@ -19,7 +19,10 @@ ldflags()
echo '-lcurses'
exit
fi
exit 1
# If all fails, try "-lcurses"
echo '-lcurses'
exit
}
# Where is ncurses.h?