diff options
author | Emil Velikov <[email protected]> | 2018-06-28 14:42:08 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2018-08-07 17:23:17 +0100 |
commit | 2f1d9e6cb842e3cff8ae7b73f669ea8d6c411ac8 (patch) | |
tree | 5321a5b535f7abaa050cb24588ee8bb69e32caac /src/egl | |
parent | c077b74ee8187042ad3ad8001d94074e73e3e9ea (diff) |
meson: stop exporting internal wayland details
With version v1.15 the "code" option was deprecated in favour of
"private-code" or "public-code".
Before the interface symbol generated was exported (which is a bad idea
since it's internal implementation detail) and others may misuse it.
That was the case with libva approx. 1 year ago. Since then libva was
fixed, so we can finally hide it by using "private-code"
Inspired by similar xserver patch by Adam Jackson.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/wayland/wayland-drm/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/wayland/wayland-drm/meson.build b/src/egl/wayland/wayland-drm/meson.build index c627deaa1c3..983bf55fac8 100644 --- a/src/egl/wayland/wayland-drm/meson.build +++ b/src/egl/wayland/wayland-drm/meson.build @@ -24,7 +24,7 @@ wayland_drm_protocol_c = custom_target( 'wayland-drm-protocol.c', input : 'wayland-drm.xml', output : 'wayland-drm-protocol.c', - command : [prog_wl_scanner, 'code', '@INPUT@', '@OUTPUT@'], + command : [prog_wl_scanner, wl_scanner_arg, '@INPUT@', '@OUTPUT@'], ) wayland_drm_client_protocol_h = custom_target( @@ -61,7 +61,7 @@ linux_dmabuf_unstable_v1_protocol_c = custom_target( 'linux-dmabuf-unstable-v1-protocol.c', input : wayland_dmabuf_xml, output : 'linux-dmabuf-unstable-v1-protocol.c', - command : [prog_wl_scanner, 'code', '@INPUT@', '@OUTPUT@'], + command : [prog_wl_scanner, wl_scanner_arg, '@INPUT@', '@OUTPUT@'], ) linux_dmabuf_unstable_v1_client_protocol_h = custom_target( |