Skip to content

Commit

Permalink
Fix missing NCURSES_CFLAGS in configure try_compile_link
Browse files Browse the repository at this point in the history
This makes it match the other libraries, and it's clearly a mistake
since the line below appends NCURSES_CFLAGS.
  • Loading branch information
pgaskin committed Aug 6, 2024
1 parent d0a685d commit c561a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c561a17

Please sign in to comment.