summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/global/global-ncurse.patch
blob: 89d48fbf00eebc6a3ad243ba9187178bf9047334 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/configure	2021-07-01 12:06:50.000000000 +0800
+++ b/configure	2022-10-10 14:30:01.348062669 +0800
@@ -15771,7 +15771,7 @@
   withval=$with_ncurses; if test x$withval = xno ; then
 		search_ncurses=false
 	  elif test x$withval != xyes ; then
-		CURSES_LIBS="$LIBS -L$withval/lib -lncurses"
+		CURSES_LIBS="$LIBS -L$withval/lib -lncurses -ltinfo"
 		CURSES_INCLUDEDIR="-I$withval/include"
 		search_ncurses=false
 		screen_manager="ncurses"