Merge branch '4465_ncurses_libs'

* 4465_ncurses_libs:
  Ticket #4465: remove duplicated libs from MCLIBS (again).
This commit is contained in:
Andrew Borodin 2023-05-21 20:17:18 +03:00
commit b90177fa10
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"