diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-11-27 14:25:48 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-11-27 14:25:48 +0000 |
commit | 997b535a20c1ef991377fb0d1b237efe4e2bb928 (patch) | |
tree | 3101a99934f20dae3c0fdb30202c568c87560a81 /app/cwm | |
parent | 5aaf76b3bf54896c7779634c10940edc785ca482 (diff) |
Explicitely link libxcb when needed for static arches.
Diffstat (limited to 'app/cwm')
-rw-r--r-- | app/cwm/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
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 <bsd.xconf.mk> @@ -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 |