summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-05-22 17:06:09 -0700
committerDylan Baker <[email protected]>2019-10-10 16:33:04 -0700
commit880ca3c964ee724e8778be824ed51bf9e84c643f (patch)
tree540a8185dc01457cd94333475f2d8eaee37c341b /src
parent095bdbda2bb2b3caf83302c7dcc54acc866599db (diff)
meson: Set visibility and compat args for graw
Acked-by: Eric Engestrom <[email protected]> Acked-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/targets/graw-gdi/meson.build1
-rw-r--r--src/gallium/targets/graw-null/meson.build2
-rw-r--r--src/gallium/targets/graw-xlib/meson.build1
3 files changed, 4 insertions, 0 deletions
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