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/xsystrace/Makefile | |
parent | 5aaf76b3bf54896c7779634c10940edc785ca482 (diff) |
Explicitely link libxcb when needed for static arches.
Diffstat (limited to 'app/xsystrace/Makefile')
-rw-r--r-- | app/xsystrace/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/xsystrace/Makefile b/app/xsystrace/Makefile index 5d4e10e25..729cb501a 100644 --- a/app/xsystrace/Makefile +++ b/app/xsystrace/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2008/03/25 23:41:50 matthieu Exp $ +# $OpenBSD: Makefile,v 1.10 2010/11/27 14:25:47 matthieu Exp $ .include <bsd.xconf.mk> PROG= xsystrace @@ -9,7 +9,10 @@ SUBDIR= pixmaps .endif CPPFLAGS+= -I${X11BASE}/include -LDADD+= -L${X11BASE}/lib -lXaw -lXt -lSM -lICE -lXmu -lXpm -lX11 -lXext -lXau -lXdmcp +.if ${XENOCARA_BUILD_XCB:L} != "no" +LIBXCB= -lxcb +.endif +LDADD+= -L${X11BASE}/lib -lXaw -lXt -lSM -lICE -lXmu -lXpm -lX11 ${LIBXCB} -lXext -lXau -lXdmcp SRCS= main.c interface.c callbacks.c policy.c |