Do not build kdrive on static arches, for libGL doesn't get build on them.

ok matthieu@
This commit is contained in:
miod 2012-12-01 21:10:42 +00:00
parent 00eccbe44f
commit ef8a0d093a

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.49 2012/10/29 21:19:16 matthieu Exp $
# $OpenBSD: Makefile,v 1.50 2012/12/01 21:10:42 miod Exp $
.include <bsd.own.mk>
.include <bsd.xconf.mk>
@ -13,7 +13,8 @@ XSERVER= xserver
.endif
.if defined(XENOCARA_BUILD_PIXMAN)
.if ${COMPILER_VERSION:L:Mgcc[34]*} && ${XENOCARA_BUILD_PIXMAN:L} == "yes"
.if ${COMPILER_VERSION:L:Mgcc[34]*} && ${XENOCARA_BUILD_PIXMAN:L} == "yes" && \
${XENOCARA_HAVE_SHARED_LIBS:L} == "yes"
XSERVER+= kdrive
.endif
.endif