summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 682d7c8..85b6500 100644
--- a/meson.build
+++ b/meson.build
@@ -60,6 +60,16 @@ foreach w : warnings
endif
endforeach
+flags = [
+ '-fvisibility=hidden',
+]
+
+foreach f : flags
+ if cc.has_argument(f)
+ add_project_arguments(f, language : 'c')
+ endif
+endforeach
+
prog_python = import('python').find_installation('python3')
libdrm_dep = dependency('libdrm', version : '>=2.4.50')