Commit 94d2e4c2 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

meson: hide symbols by default unless explicitly exported

parent 7acdfa37
......@@ -50,6 +50,11 @@ else
noseh_link_args = []
# Symbol visibility
if cc.has_argument('-fvisibility=hidden')
add_project_arguments('-fvisibility=hidden', language: 'c')
core_conf = configuration_data()
check_headers = [
['HAVE_DLFCN_H', 'dlfcn.h'],
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment