mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-09 10:48:48 +00:00
don't build libgallium_drv_video when WITH_VAAPI==no
ok matthieu@ rsadowski@
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2024/07/19 14:42:33 rsadowski Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2024/07/21 13:30:50 jsg Exp $
|
||||
|
||||
.include "config.mk"
|
||||
|
||||
@@ -102,6 +102,8 @@ SUBDIR+= libglapi libgbm libEGL libGL libGLESv1_CM libGLESv2 libOSMesa
|
||||
|
||||
SUBDIR+= libgallium_dri
|
||||
|
||||
.if ${WITH_VAAPI} == "yes" || make(obj)
|
||||
SUBDIR+= libgallium_drv_video
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1 2024/07/19 14:40:46 rsadowski Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2024/07/21 13:30:50 jsg Exp $
|
||||
|
||||
LIB= gallium_drv_video
|
||||
|
||||
@@ -81,10 +81,7 @@ SLIBS+= libradeonwinsys
|
||||
.endif
|
||||
|
||||
LDADD+= -Wl,--as-needed -Wl,--allow-shlib-undefined -Wl,--whole-archive -Wl,--start-group
|
||||
|
||||
.if ${WITH_VAAPI} == "yes"
|
||||
LDADD+= ${.CURDIR}/../libva_st/${__objdir}/libva_st.a -Wl,--no-whole-archive -Wl,-z,origin
|
||||
.endif
|
||||
|
||||
.if ${WITH_GALLIUM_R600} == "yes"
|
||||
SLIBS+= libr600
|
||||
|
||||
Reference in New Issue
Block a user