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/cwm/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'app/cwm/Makefile') diff --git a/app/cwm/Makefile b/app/cwm/Makefile index 3ac25189e..94fc85fb8 100644 --- a/app/cwm/Makefile +++ b/app/cwm/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.15 2009/01/19 20:23:19 todd Exp $ +# $OpenBSD: Makefile,v 1.16 2010/11/27 14:25:47 matthieu Exp $ .include @@ -11,8 +11,11 @@ SRCS= calmwm.c screen.c xmalloc.c client.c menu.c \ CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/freetype2 -I${.CURDIR} CFLAGS+= -Wall +.if ${XENOCARA_BUILD_XCB:L} != "no" +LIBXCB= -lxcb +.endif -LDADD+= -L${X11BASE}/lib -lXft -lXrender -lX11 -lXau -lXdmcp \ +LDADD+= -L${X11BASE}/lib -lXft -lXrender -lX11 ${LIBXCB} -lXau -lXdmcp \ -lfontconfig -lexpat -lfreetype -lz -lXinerama -lXrandr -lXext MANDIR= ${X11BASE}/man/cat -- cgit v1.2.3