meson: set visibility flags on gbm
authorDylan Baker <dylan@pnwbakers.com>
Mon, 30 Oct 2017 18:31:45 +0000 (11:31 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 31 Oct 2017 17:41:19 +0000 (10:41 -0700)
This is done in autotools, and is an oversight in the meson build.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Tested-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/gbm/meson.build

index fc1816cc17abe431090aefc87e2f0969daef4931..2fad2a2a8e335bb7887d1944b80bba5a90d1f050 100644 (file)
@@ -50,7 +50,7 @@ libgbm = shared_library(
   include_directories : [
     include_directories('main'), inc_include, inc_src, inc_loader,
     include_directories('../egl/wayland/wayland-drm')],
-  c_args : args_gbm,
+  c_args : [c_vis_args, args_gbm],
   link_args : [ld_args_gc_sections],
   link_with : [links_gbm, libloader, libmesa_util, libxmlconfig],
   dependencies : [deps_gbm, dep_dl],