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:
parent
c65898c00b
commit
234a267b5a
1 changed files with 4 additions and 1 deletions
|
|
@ -19,7 +19,10 @@ ldflags()
|
|||
echo '-lcurses'
|
||||
exit
|
||||
fi
|
||||
exit 1
|
||||
|
||||
# If all fails, try "-lcurses"
|
||||
echo '-lcurses'
|
||||
exit
|
||||
}
|
||||
|
||||
# Where is ncurses.h?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue