meson: Set visibility and compat args for graw
authorDylan Baker <dylan@pnwbakers.com>
Wed, 23 May 2018 00:06:09 +0000 (17:06 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 10 Oct 2019 23:33:04 +0000 (16:33 -0700)
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Kristian H. Kristensen <hoegsberg@google.com>
src/gallium/targets/graw-gdi/meson.build
src/gallium/targets/graw-null/meson.build
src/gallium/targets/graw-xlib/meson.build

index a1bbd620d5b1bea7fdb869a9b6a14fce7f158624..c3d3a0aac8eb85086f7a35ad08e37aeb58cb4822 100644 (file)
@@ -21,6 +21,7 @@
 libgraw_gdi = shared_library(
   'graw',
   'graw_gdi.c',
+  c_args : [c_vis_args, c_msvc_compat_args],
   include_directories : [
     inc_include, inc_src, inc_gallium, inc_gallium_aux, inc_gallium_drivers,
     inc_gallium_winsys_sw,
index 8bffbeaf7c8fb143e9690a95c1b4ccfc7dea33fb..c69542705be4ed8922b912e05e3ecb2ffa0e8873 100644 (file)
 libgraw_util = static_library(
   'graw_util',
   ['graw_util.c'],
+  c_args : [c_vis_args, c_msvc_compat_args],
   include_directories : inc_common,
 )
 
 libgraw_null = shared_library(
   'graw_null',
   ['graw_null.c'],
+  c_args : [c_vis_args, c_msvc_compat_args],
   include_directories : inc_common,
   link_with : libgallium,
   dependencies : idep_mesautil,
index 8b61ad7bcbf1614f9f69684caa1110f74cdb87b9..92f483733cf156eedfd3d77bdb2dccc3cd8db37f 100644 (file)
@@ -21,6 +21,7 @@
 libgraw_xlib = shared_library(
   'graw_xlib',
   ['graw_xlib.c'],
+  c_args : [c_vis_args],
   include_directories : [inc_common, inc_gallium_drivers, inc_gallium_winsys],
   link_with : [
     libgraw_util, libgallium, libws_xlib