Revert "build: workaround for meson disabler object not working with if not"

This reverts commit 9796abcced.

This Meson issue has been fixed upstream for a while. We require
0.56.0 so we should never hit an unpatched Meson.
This commit is contained in:
Simon Ser 2021-06-22 21:05:53 +02:00 committed by Kenny Levinsen
parent 2f615468b6
commit 8810e95082

View file

@ -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