From 4f598be99d52b2fb943144361aaa87387555299d Mon Sep 17 00:00:00 2001 From: Franklin Date: Sun, 14 Jul 2024 18:57:18 +0800 Subject: [PATCH] fix 'make menuconfig' requires the ncurses libraries issue on fedora. refer to https://bbs.archlinux.org/viewtopic.php?id=295859 --- scripts/kconfig/lxdialog/check-lxdialog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kconfig/lxdialog/check-lxdialog.sh b/scripts/kconfig/lxdialog/check-lxdialog.sh index 5075ebf2d3..4e138366d2 100755 --- a/scripts/kconfig/lxdialog/check-lxdialog.sh +++ b/scripts/kconfig/lxdialog/check-lxdialog.sh @@ -47,7 +47,7 @@ trap "rm -f $tmp" 0 1 2 3 15 check() { $cc -x c - -o $tmp 2>/dev/null <<'EOF' #include CURSES_LOC -main() {} +int main() {} EOF if [ $? != 0 ]; then echo " *** Unable to find the ncurses libraries or the" 1>&2