meson: stop exporting internal wayland details
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 28 Jun 2018 13:42:08 +0000 (14:42 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 7 Aug 2018 16:23:17 +0000 (17:23 +0100)
commit2f1d9e6cb842e3cff8ae7b73f669ea8d6c411ac8
tree5321a5b535f7abaa050cb24588ee8bb69e32caac
parentc077b74ee8187042ad3ad8001d94074e73e3e9ea
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 <emil.velikov@collabora.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
meson.build
src/egl/wayland/wayland-drm/meson.build