Skip to content
Snippets Groups Projects

gst-full: add linker flag to keep gst_init_static_plugins

  1. Oct 21, 2020
    • Stéphane Cerveau's avatar
      gst-full: add linker flag to keep gst_init_static_plugins · a4f711e9
      Stéphane Cerveau authored
      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: <!207>
      a4f711e9
Loading