]> git.sur5r.net Git - i3/i3lock/blobdiff - Makefile
debian: add libxcb-xinerama0-dev as build-dependency
[i3/i3lock] / Makefile
index 1d82af9441d5fdcdf9b07136e370a4616fa345a5..cc7dff90b60c6a36c88f4cb857c3e97500313c48 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,14 +12,15 @@ CFLAGS += -pipe
 CFLAGS += -Wall
 CPPFLAGS += -D_GNU_SOURCE
 ifndef NOLIBCAIRO
-CFLAGS += $(shell pkg-config --cflags cairo xcb-keysyms xcb-dpms)
-LIBS += $(shell pkg-config --libs cairo xcb-keysyms xcb-dpms xcb-image)
+CFLAGS += $(shell pkg-config --cflags cairo xcb-keysyms xcb-dpms xcb-xinerama)
+LIBS += $(shell pkg-config --libs cairo xcb-keysyms xcb-dpms xcb-xinerama xcb-image)
 else
 CPPFLAGS += -DNOLIBCAIRO
-CFLAGS += $(shell pkg-config --cflags xcb-keysyms xcb-dpms)
-LIBS += $(shell pkg-config --libs xcb-keysyms xcb-dpms xcb-image)
+CFLAGS += $(shell pkg-config --cflags xcb-keysyms xcb-dpms xcb-xinerama)
+LIBS += $(shell pkg-config --libs xcb-keysyms xcb-dpms xcb-image xcb-xinerama)
 endif
 LIBS += -lpam
+LIBS += -lev
 
 FILES:=$(wildcard *.c)
 FILES:=$(FILES:.c=.o)