Commit 50c32da9 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

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.
parent af5717b3
......@@ -37,7 +37,7 @@ configure_file(input : 'libcheck/',
install_dir : join_paths(get_option('includedir'), 'gstreamer-1.0/gst/check'),
configuration : check_cdata)
gst_check = shared_library('gstcheck-@0@'.format(apiversion),
gst_check = library('gstcheck-@0@'.format(apiversion),
c_args : gst_c_args + ['-UG_DISABLE_ASSERT', '-DBUILDING_GST_CHECK'],
version : libversion,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment