mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
meson: don't export symbols by default
Only plugin entry points should be exported.
This commit is contained in:
parent
241b95dad2
commit
93c7c9c3f4
1 changed files with 6 additions and 1 deletions
|
@ -19,9 +19,14 @@ libva_req = ['>= 0.30.4', '!= 0.99.0']
|
|||
glib_req = '>= 2.40.0'
|
||||
gst_req = '>= @0@.@1@.0'.format(gst_version_major, gst_version_minor)
|
||||
|
||||
# Mandatory GST deps
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
# Symbol visibility
|
||||
if cc.has_argument('-fvisibility=hidden')
|
||||
add_project_arguments('-fvisibility=hidden', language: 'c')
|
||||
endif
|
||||
|
||||
# Mandatory GST deps
|
||||
libm = cc.find_library('m', required : false)
|
||||
gst_dep = dependency('gstreamer-1.0', version : gst_req,
|
||||
fallback : ['gstreamer', 'gst_dep'])
|
||||
|
|
Loading…
Reference in a new issue