meson: Fix plugin symbol export for C++ sources/plugins
authorJan Schmidt <jan@centricular.com>
Fri, 6 Sep 2019 09:13:46 +0000 (19:13 +1000)
committerJan Schmidt <thaytan@noraisin.net>
Tue, 12 Nov 2019 13:00:42 +0000 (13:00 +0000)
commitc0561fb916780ec2fdfafe09e31a74ff5fa5ec08
tree975ea32d2833cd8a509450eb110a80e1b3331a65
parent346bca80af4c00e126dc51eb20653cb3697f51fd
meson: Fix plugin symbol export for C++ sources/plugins

The symbol visibility=hidden flag was only being applied to C
compilation, so plugins implemented in C++ would leak extra symbols
than the 2 _get_desc() and _register().

That also showed that the gst-libs opencv C++ lib was not marking
symbols for export correctly because the BUILDING_GST_OPENCV define
wasn't in the C++ args, so fix that too.
gst-libs/gst/opencv/meson.build
meson.build