From 97e0e9cde26fd847f2dd434c2fd175cfce6b92ee Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Tue, 4 Mar 2014 14:04:11 +0000 Subject: [PATCH] Try tinfo before ncursesw (partially from https://github.com/o11c/libtermkey/commit/c2dd8f247a2ef9bce5ce26bfb289369643f58e09) [thanks o11c] --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 09089b5..410ed33 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,9 @@ endif ifeq ($(shell pkg-config --atleast-version=0.1.0 unibilium && echo 1),1) CFLAGS +=$(shell pkg-config --cflags unibilium) -DHAVE_UNIBILIUM LDFLAGS+=$(shell pkg-config --libs unibilium) +else ifeq ($(shell pkg-config tinfo && echo 1),1) + CFLAGS +=$(shell pkg-config --cflags tinfo) + LDFLAGS+=$(shell pkg-config --libs tinfo) else ifeq ($(shell pkg-config ncursesw && echo 1),1) CFLAGS +=$(shell pkg-config --cflags ncursesw) LDFLAGS+=$(shell pkg-config --libs ncursesw)