Signed-off-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx> --- intel/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/intel/meson.build b/intel/meson.build index ff40ab91..c808781b 100644 --- a/intel/meson.build +++ b/intel/meson.build @@ -18,6 +18,8 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +hidden_symbols = ['-fvisibility=hidden'] + libdrm_intel = shared_library( 'drm_intel', [ @@ -30,7 +32,7 @@ libdrm_intel = shared_library( include_directories : [inc_root, inc_drm], link_with : libdrm, dependencies : [dep_pciaccess, dep_pthread_stubs, dep_rt, dep_valgrind, dep_atomic_ops], - c_args : warn_c_args, + c_args : warn_c_args + hidden_symbols, version : '1.0.0', install : true, ) -- 2.17.1 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel