Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
Revert "build: workaround for meson disabler object not working with …
Browse files Browse the repository at this point in the history
…if not"

This reverts commit 9796abc.

This Meson issue has been fixed upstream for a while. We require
0.56.0 so we should never hit an unpatched Meson.
  • Loading branch information
emersion authored and kennylevinsen committed Jun 22, 2021
1 parent 2f61546 commit 8810e95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8810e95

Please sign in to comment.