mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
meson: hide symbols by default unless explicitly exported
This commit is contained in:
parent
7acdfa3753
commit
94d2e4c223
1 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,11 @@ else
|
|||
noseh_link_args = []
|
||||
endif
|
||||
|
||||
# Symbol visibility
|
||||
if cc.has_argument('-fvisibility=hidden')
|
||||
add_project_arguments('-fvisibility=hidden', language: 'c')
|
||||
endif
|
||||
|
||||
core_conf = configuration_data()
|
||||
check_headers = [
|
||||
['HAVE_DLFCN_H', 'dlfcn.h'],
|
||||
|
|
Loading…
Reference in a new issue