Remove dependency on xcb-event (Thanks Felicitus)

This commit is contained in:
Michael Stapelberg
2011-05-04 19:33:43 +02:00
parent 498a38ac0a
commit 06700c90ef
4 changed files with 11 additions and 10 deletions

View File

@ -37,12 +37,12 @@ CFLAGS += -DOLD_XCB_KEYSYMS_API
endif
LDFLAGS += -lm
LDFLAGS += -lxcb-event
LDFLAGS += -lxcb-keysyms
ifeq ($(shell pkg-config --exists xcb-util || echo 1),1)
CFLAGS += -DXCB_COMPAT
LDFLAGS += -lxcb-atom
LDFLAGS += -lxcb-aux
LDFLAGS += -lxcb-event
else
LDFLAGS += -lxcb-util
endif