summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-12-01 21:10:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-12-01 21:10:43 +0000
commit7c947f4696535322e5a530a4ef031245964465f2 (patch)
tree8a3ac2212c9c8ccb1e8db83b05b9d60a8d1de6e7 /Makefile
parent507727eadb179f4f3db98efb7591328157c0c43b (diff)
Do not build kdrive on static arches, for libGL doesn't get build on them.
ok matthieu@
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 058fc1053..7ef8030f4 100644
--- a/Makefile
+++ b/Makefile
@@ -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