From 997b535a20c1ef991377fb0d1b237efe4e2bb928 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sat, 27 Nov 2010 14:25:48 +0000 Subject: Explicitely link libxcb when needed for static arches. --- app/xidle/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'app/xidle') diff --git a/app/xidle/Makefile b/app/xidle/Makefile index 6e1f38e85..8c61aff70 100644 --- a/app/xidle/Makefile +++ b/app/xidle/Makefile @@ -1,11 +1,14 @@ -# $OpenBSD: Makefile,v 1.4 2008/03/25 23:41:50 matthieu Exp $ +# $OpenBSD: Makefile,v 1.5 2010/11/27 14:25:47 matthieu Exp $ .include PROG= xidle CPPFLAGS+= -I${X11BASE}/include CFLAGS+= -Wall -LDADD+= -L${X11BASE}/lib -lXss -lXext -lX11 -lXau -lXdmcp +.if ${XENOCARA_BUILD_XCB:L} != "no" +LIBXCB= -lxcb +.endif +LDADD+= -L${X11BASE}/lib -lXss -lXext -lX11 ${LIBXCB} -lXau -lXdmcp MANDIR= ${X11BASE}/man/cat -- cgit v1.2.3