From c561a17bf9f44c62960b435f62d84010a7783bec Mon Sep 17 00:00:00 2001 From: Patrick Gaskin Date: Mon, 5 Aug 2024 21:57:03 -0400 Subject: [PATCH] Fix missing NCURSES_CFLAGS in configure try_compile_link This makes it match the other libraries, and it's clearly a mistake since the line below appends NCURSES_CFLAGS. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index fb750ad4c..c869fea37 100755 --- a/configure +++ b/configure @@ -193,7 +193,7 @@ check_ncurses() msg_checking "for working ncurses setup" for flag in "" "-I/usr/include/ncurses" "-I/usr/include/ncursesw" do - if try_compile_link "$ncurses_code" $flag $NCURSES_LIBS + if try_compile_link "$ncurses_code" $NCURSES_CFLAGS $flag $NCURSES_LIBS then NCURSES_CFLAGS="$NCURSES_CFLAGS $flag" msg_result yes