From 12bc5b7a62c13735aa845cea2655393bf6de9819 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Tue, 24 Jan 2023 02:52:49 +0000 Subject: [PATCH] vaapi: Skip plugin pc file for shared plugins Following similar logic in the other subprojects. Part-of: --- subprojects/gstreamer-vaapi/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/subprojects/gstreamer-vaapi/meson.build b/subprojects/gstreamer-vaapi/meson.build index f71715b30f..9f7bdbe5af 100644 --- a/subprojects/gstreamer-vaapi/meson.build +++ b/subprojects/gstreamer-vaapi/meson.build @@ -241,6 +241,10 @@ meson.add_dist_script('scripts/gen-changelog.py', meson.project_name(), '1.20.0' pkgconfig = import('pkgconfig') plugins_pkgconfig_install_dir = join_paths(plugins_install_dir, 'pkgconfig') +if get_option('default_library') == 'shared' + # If we don't build static plugins there is no need to generate pc files + plugins_pkgconfig_install_dir = disabler() +endif plugin_names = [] gst_plugins = []