From ad9034c50b210cf50e77662772beb25554c0f52b Mon Sep 17 00:00:00 2001 From: Ed Reel Date: Thu, 24 Nov 2022 16:50:51 -0600 Subject: [PATCH] Add -ltinfo option and ncursesw include path --- config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.mk b/config.mk index db25e8a..064f184 100644 --- a/config.mk +++ b/config.mk @@ -6,8 +6,8 @@ MANPREFIX = ${PREFIX}/share/man # leave empty to install into your home folder TERMINFO := ${DESTDIR}${PREFIX}/share/terminfo -INCS = -I. -LIBS = -lc -lutil -lncursesw +INCS = -I. -I${PREFIX}/include/ncursesw +LIBS = -lc -lutil -lncursesw -ltinfo CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED CFLAGS += -std=c99 ${INCS} -DNDEBUG ${CPPFLAGS}