mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rpicamsrc: meson: drop map file and fix plugin symbol export with newer gstreamer versions
Use -fvisibility instead of a map file for symbol export, so that the right symbols get exported with newer gstreamer versions. Older GStreamer versions also still work of course. Fixes blacklisting/plugin-loading issues with GStreamer >= 1.14 Fixes https://github.com/thaytan/gst-rpicamsrc/issues/984, closes https://github.com/thaytan/gst-rpicamsrc/issues/94 and https://github.com/thaytan/gst-rpicamsrc/issues/67
This commit is contained in:
parent
3c5327ae64
commit
912ea0dceb
2 changed files with 0 additions and 7 deletions
|
@ -1,3 +0,0 @@
|
|||
{ global:
|
||||
gst_plugin_desc;
|
||||
local: *; };
|
|
@ -23,14 +23,10 @@ gstrpicam_enum_types_c = custom_target('gstrpicam-enum-types.c',
|
|||
command : [glib_mkenums, '--template', meson.current_source_dir() + '/gstrpicam-enums-template.c', '@INPUT@'],
|
||||
capture : true)
|
||||
|
||||
mapfile = 'gstplugin.map'
|
||||
|
||||
library('gstrpicamsrc',
|
||||
rpicamsrc_sources, gstrpicam_enum_types_h, gstrpicam_enum_types_c,
|
||||
c_args : gst_rpicamsrc_args,
|
||||
include_directories : config_inc,
|
||||
link_args : '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile),
|
||||
link_depends : mapfile,
|
||||
dependencies : [gst_dep, gstbase_dep, gstvideo_dep] + mmal_deps,
|
||||
install : true,
|
||||
install_dir : plugins_install_dir)
|
||||
|
|
Loading…
Reference in a new issue