mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
sidplay: hide symbols in meson for this c++ plugin too
Keep things local, as this is the only c++ plugin in ugly currently.
This commit is contained in:
parent
7d789cc589
commit
87c58bd3c1
1 changed files with 6 additions and 1 deletions
|
@ -2,6 +2,11 @@
|
|||
have_sidplay = false
|
||||
if add_languages('cpp')
|
||||
cxx = meson.get_compiler('cpp')
|
||||
if cxx.has_argument('-fvisibility=hidden')
|
||||
cxx_vis_args = ['-fvisibility=hidden']
|
||||
else
|
||||
cxx_vis_args = []
|
||||
endif
|
||||
|
||||
if cxx.has_header('sidplay/player.h')
|
||||
sid_code = '''#include <sidplay/player.h>
|
||||
|
@ -17,7 +22,7 @@ endif
|
|||
|
||||
if have_sidplay
|
||||
shared_module('gstsid', 'gstsiddec.cc',
|
||||
cpp_args : ugly_args,
|
||||
cpp_args : ugly_args + cxx_vis_args,
|
||||
include_directories : [configinc],
|
||||
dependencies : [gstaudio_dep, sidplay_dep],
|
||||
install : true,
|
||||
|
|
Loading…
Reference in a new issue