meson: Set c visibility args for wayland-drm
authorDylan Baker <dylan@pnwbakers.com>
Tue, 31 Oct 2017 18:04:27 +0000 (11:04 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 2 Nov 2017 21:50:18 +0000 (14:50 -0700)
Because otherwise gbm will expose wayland symbols that it shouldn't.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-and-Tested-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/egl/wayland/wayland-drm/meson.build

index 17ac2dd..fa33488 100644 (file)
@@ -44,6 +44,7 @@ wayland_drm_server_protocol_h = custom_target(
 libwayland_drm = static_library(
   'wayland_drm',
   ['wayland-drm.c', wayland_drm_protocol_c, wayland_drm_server_protocol_h],
+  c_args : c_vis_args,
   dependencies : [dep_wayland_server],
   build_by_default : false,
 )