Ticket #4465: remove duplicated libs from MCLIBS (again).

Fixed copy-paste error.
This is a correction for 92ae4c6b20.

Closes MidnightCommander/mc#190.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Evgeny Grin 2023-05-21 16:16:24 +03:00 committed by Andrew Borodin
parent f17ebfd2a5
commit 8fba56d40f
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ AC_DEFUN([mc_WITH_NCURSES], [
MCLIBS="$LIBS"
fi
LIBS="$MCLIBS"
AC_SEARCH_LIBS([stdscr], [tinfow tinfo], [MCLIBS="$MCLIBS $LIBS"],
AC_SEARCH_LIBS([stdscr], [tinfow tinfo], [],
[AC_MSG_ERROR([Cannot find a library providing stdscr])])
MCLIBS="$LIBS"