Try tinfo before ncursesw (partially from c2dd8f247a
) [thanks o11c]
This commit is contained in:
parent
d775d2a5ae
commit
97e0e9cde2
3
Makefile
3
Makefile
|
@ -22,6 +22,9 @@ endif
|
||||||
ifeq ($(shell pkg-config --atleast-version=0.1.0 unibilium && echo 1),1)
|
ifeq ($(shell pkg-config --atleast-version=0.1.0 unibilium && echo 1),1)
|
||||||
CFLAGS +=$(shell pkg-config --cflags unibilium) -DHAVE_UNIBILIUM
|
CFLAGS +=$(shell pkg-config --cflags unibilium) -DHAVE_UNIBILIUM
|
||||||
LDFLAGS+=$(shell pkg-config --libs 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)
|
else ifeq ($(shell pkg-config ncursesw && echo 1),1)
|
||||||
CFLAGS +=$(shell pkg-config --cflags ncursesw)
|
CFLAGS +=$(shell pkg-config --cflags ncursesw)
|
||||||
LDFLAGS+=$(shell pkg-config --libs ncursesw)
|
LDFLAGS+=$(shell pkg-config --libs ncursesw)
|
||||||
|
|
Loading…
Reference in New Issue