pkgconfig: Fix missing libcheck dependencies in gstreamer-check-1.0
authorXavier Claessens <xavier.claessens@collabora.com>
Fri, 16 Oct 2020 14:22:04 +0000 (10:22 -0400)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 16 Oct 2020 18:14:38 +0000 (18:14 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/676>

libs/gst/check/meson.build

index b787238..316465a 100644 (file)
@@ -50,6 +50,10 @@ gst_check = library('gstcheck-@0@'.format(apiversion),
 
 pkgconfig.generate(gst_check,
   libraries : [libgst],
+  # FIXME: Add manually libcheck's dependencies because it's an uninstalled static
+  # library and Meson <0.56.0 does not handle them correctly.
+  # See https://github.com/mesonbuild/meson/pull/7488.
+  libraries_private: [rt_lib, mathlib],
   variables : pkgconfig_variables,
   subdirs : pkgconfig_subdirs,
   name : 'gstreamer-check-1.0',