mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
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:
parent
2f615468b6
commit
8810e95082
1 changed files with 1 additions and 2 deletions
|
@ -18,8 +18,7 @@ else
|
||||||
libepoll = dependency('', required: false)
|
libepoll = dependency('', required: false)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Check if libavutil is found because of https://github.com/mesonbuild/meson/issues/6010
|
if not cc.has_header('libavutil/hwcontext_drm.h', dependencies: libavutil)
|
||||||
if libavutil.found() and not cc.has_header('libavutil/hwcontext_drm.h', dependencies: libavutil)
|
|
||||||
libavutil = disabler()
|
libavutil = disabler()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue