Explicitely link libxcb when needed for static arches.

This commit is contained in:
matthieu 2010-11-27 14:25:47 +00:00
parent 1f310d57e2
commit 111a88129d

View File

@ -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