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.
master
Simon Ser 3 years ago committed by Kenny Levinsen
parent 2f615468b6
commit 8810e95082

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

Loading…
Cancel
Save