Skip to contentSkip to conversation

build-sys: disable vhost-user-gpu if !opengl

PATCH New [email protected] 1 participant 1 message Jun 28, 2022 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build-sys: disable vhost-user-gpu if !opengl

From: Marc-André Lureau <[email protected]>

vhost-user-gpu uses epoxy/glflush and thus requires opengl.

---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meson.build +1 -1
index cadc2665a251..6cd22b67d93d 100644
@@ -1092,7 +1092,7 @@ if (have_system or have_tools) and (virgl.found() or opengl.found())
   gbm = dependency('gbm', method: 'pkg-config', required: false,
                    kwargs: static_kwargs)
 endif
-have_vhost_user_gpu = have_vhost_user_gpu and virgl.found() and gbm.found()
+have_vhost_user_gpu = have_vhost_user_gpu and virgl.found() and opengl.found() and gbm.found()
 
 gnutls = not_found
 gnutls_crypto = not_found
Signature · 1 line
2.37.0.rc0