diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2014-03-04 14:04:11 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2014-03-04 14:04:11 +0000 |
commit | 97e0e9cde26fd847f2dd434c2fd175cfce6b92ee (patch) | |
tree | 60e2c22c0d3c4172c96cb2cb58688e3d836335e5 /Makefile | |
parent | d775d2a5ae008c17f4c78e9d55cb28569ae0e3fb (diff) | |
download | termo-97e0e9cde26fd847f2dd434c2fd175cfce6b92ee.tar.gz termo-97e0e9cde26fd847f2dd434c2fd175cfce6b92ee.tar.xz termo-97e0e9cde26fd847f2dd434c2fd175cfce6b92ee.zip |
Try tinfo before ncursesw (partially from https://github.com/o11c/libtermkey/commit/c2dd8f247a2ef9bce5ce26bfb289369643f58e09) [thanks o11c]
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |