meson: use library() for libgstcheck instead of always building a shared lib
authorTim-Philipp Müller <tim@centricular.com>
Wed, 19 Sep 2018 18:37:38 +0000 (19:37 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 24 Sep 2018 07:39:39 +0000 (08:39 +0100)
commit50c32da91fb0c398be23aff7b37ac3dc516323be
tree7be813b3836abe1a0dc96a909f7264f222e97a2f
parentaf5717b3646927013902c690f46162554fd547c3
meson: use library() for libgstcheck instead of always building a shared lib

Otherwise we try to build a shared lib when we build the rest
of GStreamer statically, which won't work because we pass
-DGST_STATIC_COMPILATION when building statically, which means
we won't dllimport public symbols from our libs which means
that on Windows the unit tests will fail to link to libgstcheck.

https://bugzilla.gnome.org/show_bug.cgi?id=797185
libs/gst/check/meson.build