nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 599f4e82b7cc030eb3d10876677f44fabe5194b5
parent f257cda04ad0f5b6efbb435de61e45d2ae5acbb1
Author: Sijmen J. Mulder <ik@sjmulder.nl>
Date:   Sun, 16 Dec 2018 17:59:20 +0100

Also use pkg-config for regular ncurses

Diffstat:
MMakefile | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -14,6 +14,9 @@ CFLAGS += $(CFLAGS_OPTIMIZATION) ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1) CFLAGS += $(shell $(PKG_CONFIG) --cflags ncursesw) LDLIBS += $(shell $(PKG_CONFIG) --libs ncursesw) +else ifeq ($(shell $(PKG_CONFIG) ncurses && echo 1),1) + CFLAGS += $(shell $(PKG_CONFIG) --cflags ncurses) + LDLIBS += $(shell $(PKG_CONFIG) --libs ncurses) else LDLIBS += -lncurses endif