Skip to content

Commit

Permalink
meson: add internal arg to wayland-protocols' get_variable()
Browse files Browse the repository at this point in the history
This allows developers to build mpv with a wayland-protocols
subproject.
  • Loading branch information
emersion committed Jun 3, 2022
1 parent 9d2e8b2 commit 1d46cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generated/wayland/meson.build
Original file line number Diff line number Diff line change
@@ -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'],
Expand Down

0 comments on commit 1d46cd7

Please sign in to comment.