meson: add internal arg to wayland-protocols' get_variable()

This allows developers to build mpv with a wayland-protocols
subproject.
This commit is contained in:
Simon Ser 2022-06-03 17:39:50 +02:00 committed by Dudemanguy
parent ec236f7a99
commit c4c7b07acf
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
wl_protocol_dir = wayland['deps'][2].get_variable(pkgconfig: 'pkgdatadir')
wl_protocol_dir = wayland['deps'][2].get_variable(pkgconfig: 'pkgdatadir', internal: 'pkgdatadir')
protocols = [[wl_protocol_dir, 'stable/presentation-time/presentation-time.xml'],
[wl_protocol_dir, 'stable/viewporter/viewporter.xml'],
[wl_protocol_dir, 'stable/xdg-shell/xdg-shell.xml'],