diff options
author | Stéphane Cerveau <scerveau@collabora.com> | 2020-10-20 12:45:59 +0200 |
---|---|---|
committer | Stéphane Cerveau <scerveau@collabora.com> | 2020-10-21 15:44:59 +0200 |
commit | a4f711e9e5ff2c6f6488e20e48a462890f31ffca (patch) | |
tree | c0f9b7dc10af3c18a10dfdb936263351ce80ed6d /gst-env.py | |
parent | f82527519cb62df8411e818f0c554a9d601a2a8b (diff) | |
download | gstreamer-a4f711e9e5ff2c6f6488e20e48a462890f31ffca.tar.gz |
gst-full: add linker flag to keep gst_init_static_plugins
In a fully static link where an app link with gstreamer-full
the gst_init_static_plugins can be discarded because
no one references it.
Indeed the symbol is looked up by gst_init to call if it exists
and so it is not clearly referenced.
In order to avoid this issue, we use the linker flag
--undefined=gst_init_static_plugins to keep
the symbol.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/207>
Diffstat (limited to 'gst-env.py')
0 files changed, 0 insertions, 0 deletions