diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-12-08 02:32:10 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-12-08 18:15:07 +0530 |
commit | 923dc68dd62899c4c457ac54c9aac7bd9e8f8b52 (patch) | |
tree | 69aebe267e3228e9f82f40364e14958afd686bf0 | |
parent | b1e2ea5e48868f35cc1d8fc5579b44b0a1c97881 (diff) |
gst-plugins-good: Fix post_install failure when qt5 is enabled
Need to add qt5 to PKG_CONFIG_LIBDIR if the variant is enabled
otherwise pkg-config will fail to find Qt5Core.pc
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1046>
-rw-r--r-- | cerbero/build/recipe.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cerbero/build/recipe.py b/cerbero/build/recipe.py index f5f817fd..ee138ce2 100644 --- a/cerbero/build/recipe.py +++ b/cerbero/build/recipe.py @@ -445,6 +445,8 @@ SOFTWARE LICENSE COMPLIANCE.\n\n''' pluginpcdir = os.path.join(self.config.libdir, 'gstreamer-1.0', 'pkgconfig') env = self.env.copy() env['PKG_CONFIG_LIBDIR'] += os.pathsep + pluginpcdir + if self.config.qt5_pkgconfigdir: + env['PKG_CONFIG_LIBDIR'] += os.pathsep + self.config.qt5_pkgconfigdir if self.use_system_libs: add_system_libs(self.config, env, self.env) |