mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-08 09:04:17 +00:00
gst-analytics: Add gst-video to Requires in pkg-config
`gst/analytics/analytics.h` includes `gst/analytics/gstanalyticssegmentationmtd.h`, which in turn `gst/video/video-info.h` but `gst-video-1.0` was only listed in `Requires.private` field of `gst-analytics-1.0.pc`. This would cause projects linking against `gst-analytics-1.0.pc` to fail to find the headers when using alternative interpretation of pkg-config specification that only considers private dependencies for include path during static builds, such as the case e.g. on Nix. https://gitlab.freedesktop.org/pkg-config/pkg-config/-/issues/28 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8661>
This commit is contained in:
parent
801620242e
commit
bc93bbf5c8
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ gstanalytics = library('gstanalytics-' + api_version,
|
|||
link_args : ['-lm'])
|
||||
|
||||
pkgconfig.generate(gstanalytics,
|
||||
libraries : [gst_dep, gstbase_dep, '-lm'],
|
||||
libraries : [gst_dep, gstbase_dep, gstvideo_dep, '-lm'],
|
||||
variables : pkgconfig_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : pkg_name,
|
||||
|
|
Loading…
Reference in a new issue