diff --git a/examples/meson.build b/examples/meson.build index 1ce02f0d..2c69fffd 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -18,8 +18,7 @@ else libepoll = dependency('', required: false) endif -# Check if libavutil is found because of https://github.com/mesonbuild/meson/issues/6010 -if libavutil.found() and not cc.has_header('libavutil/hwcontext_drm.h', dependencies: libavutil) +if not cc.has_header('libavutil/hwcontext_drm.h', dependencies: libavutil) libavutil = disabler() endif