mirror of
https://github.com/mpv-player/mpv
synced 2025-03-22 19:34:14 +00:00
wscript: remove some bogus configure options
It turns out that wayland-scanner and wayland-protocols are both exposed as configure options in waf meaning you can --enable/--disable them at configure time. This is pretty nonsensical. If you want to control wayland in the build, you should just use --enable-/--disable-wayland. wayland-scanner and wayland-protocols should just be typical checks like in the meson build.
This commit is contained in:
parent
cdcbd7372d
commit
48ad2278c7
4
wscript
4
wscript
@ -516,11 +516,11 @@ video_output_features = [
|
||||
'deps': 'gbm.h',
|
||||
'func': check_pkg_config('gbm', '>= 17.1.0'),
|
||||
} , {
|
||||
'name': '--wayland-scanner',
|
||||
'name': 'wayland-scanner',
|
||||
'desc': 'wayland-scanner',
|
||||
'func': check_program('wayland-scanner', 'WAYSCAN')
|
||||
} , {
|
||||
'name': '--wayland-protocols',
|
||||
'name': 'wayland-protocols',
|
||||
'desc': 'wayland-protocols',
|
||||
'func': check_wl_protocols
|
||||
} , {
|
||||
|
Loading…
Reference in New Issue
Block a user