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/video/Makefile | |
parent | 5aaf76b3bf54896c7779634c10940edc785ca482 (diff) |
Explicitely link libxcb when needed for static arches.
Diffstat (limited to 'app/video/Makefile')
-rw-r--r-- | app/video/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/video/Makefile b/app/video/Makefile index 3f23327d3..863a9f4af 100644 --- a/app/video/Makefile +++ b/app/video/Makefile @@ -1,10 +1,15 @@ -# $OpenBSD: Makefile,v 1.3 2010/09/25 02:58:00 jakemsr Exp $ +# $OpenBSD: Makefile,v 1.4 2010/11/27 14:25:47 matthieu Exp $ .include <bsd.xconf.mk> PROG= video CPPFLAGS+= -I${X11BASE}/include -LDADD+= -L${X11BASE}/lib -lXv -lXext -lX11 -lXau -lXdmcp + +.if ${XENOCARA_BUILD_XCB:L} != "no" +LIBXCB= -lxcb +.endif + +LDADD+= -L${X11BASE}/lib -lXv -lXext -lX11 ${LIBXCB} -lXau -lXdmcp MANDIR= ${X11BASE}/man/cat obj: _xenocara_obj |