diff --git a/ext/gl/meson.build b/ext/gl/meson.build index 9dfd78117a..78a1a9d49c 100644 --- a/ext/gl/meson.build +++ b/ext/gl/meson.build @@ -102,6 +102,10 @@ if build_gstgl and gstgl_dep.found() optional_deps += bcm_host_dep endif + if egl_dep.found() and cc.has_header('libdrm/drm_fourcc.h', required : false) + optional_deps += gstallocators_dep + endif + gstopengl = library('gstopengl', opengl_sources, c_args : gst_plugins_bad_args + opengl_defines,