From: Dylan Baker Date: Wed, 23 May 2018 00:06:09 +0000 (-0700) Subject: meson: Set visibility and compat args for graw X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=880ca3c964ee724e8778be824ed51bf9e84c643f;p=mesa.git meson: Set visibility and compat args for graw Acked-by: Eric Engestrom Acked-by: Kristian H. Kristensen --- diff --git a/src/gallium/targets/graw-gdi/meson.build b/src/gallium/targets/graw-gdi/meson.build index a1bbd620d5b..c3d3a0aac8e 100644 --- a/src/gallium/targets/graw-gdi/meson.build +++ b/src/gallium/targets/graw-gdi/meson.build @@ -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, diff --git a/src/gallium/targets/graw-null/meson.build b/src/gallium/targets/graw-null/meson.build index 8bffbeaf7c8..c69542705be 100644 --- a/src/gallium/targets/graw-null/meson.build +++ b/src/gallium/targets/graw-null/meson.build @@ -21,12 +21,14 @@ 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, diff --git a/src/gallium/targets/graw-xlib/meson.build b/src/gallium/targets/graw-xlib/meson.build index 8b61ad7bcbf..92f483733cf 100644 --- a/src/gallium/targets/graw-xlib/meson.build +++ b/src/gallium/targets/graw-xlib/meson.build @@ -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