diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/format/meson.build | 3 | ||||
-rw-r--r-- | src/util/meson.build | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/util/format/meson.build b/src/util/format/meson.build index 4d60e6ed80e..34615fd35cd 100644 --- a/src/util/format/meson.build +++ b/src/util/format/meson.build @@ -45,6 +45,7 @@ libmesa_format = static_library( [files_mesa_format, u_format_table_c], include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux], dependencies : dep_m, - c_args : [c_msvc_compat_args, c_vis_args], + c_args : [c_msvc_compat_args], + gnu_symbol_visibility : 'hidden', build_by_default : false ) diff --git a/src/util/meson.build b/src/util/meson.build index 1fda53bafd5..2dbdd43d6b7 100644 --- a/src/util/meson.build +++ b/src/util/meson.build @@ -171,7 +171,8 @@ _libmesa_util = static_library( include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux], dependencies : deps_for_libmesa_util, link_with: libmesa_format, - c_args : [c_msvc_compat_args, c_vis_args], + c_args : [c_msvc_compat_args], + gnu_symbol_visibility : 'hidden', build_by_default : false ) @@ -187,7 +188,7 @@ _libxmlconfig = static_library( include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux], dependencies : [idep_mesautil, dep_expat, dep_m], c_args : [ - c_msvc_compat_args, c_vis_args, + c_msvc_compat_args, '-DSYSCONFDIR="@0@"'.format( join_paths(get_option('prefix'), get_option('sysconfdir')) ), @@ -195,6 +196,7 @@ _libxmlconfig = static_library( join_paths(get_option('prefix'), get_option('datadir')) ), ], + gnu_symbol_visibility : 'hidden', build_by_default : false, ) |