summaryrefslogtreecommitdiff
path: root/lib/libdrm/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdrm/meson.build')
-rw-r--r--lib/libdrm/meson.build7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libdrm/meson.build b/lib/libdrm/meson.build
index 75c7bdff6..1d7b78633 100644
--- a/lib/libdrm/meson.build
+++ b/lib/libdrm/meson.build
@@ -21,7 +21,7 @@
project(
'libdrm',
['c'],
- version : '2.4.94',
+ version : '2.4.96',
license : 'MIT',
meson_version : '>= 0.43',
default_options : ['buildtype=debugoptimized', 'c_std=gnu99'],
@@ -211,6 +211,9 @@ foreach a : ['unused-parameter', 'attributes', 'long-long',
endif
endforeach
+# all c args:
+libdrm_c_args = warn_c_args + ['-fvisibility=hidden']
+
dep_pciaccess = dependency('pciaccess', version : '>= 0.10', required : with_intel)
dep_cunit = dependency('cunit', version : '>= 2.1', required : false)
@@ -286,7 +289,7 @@ libdrm = shared_library(
),
config_file,
],
- c_args : warn_c_args,
+ c_args : libdrm_c_args,
dependencies : [dep_valgrind, dep_rt, dep_m],
include_directories : inc_drm,
version : '2.4.0',