diff options
author | Jordan Petridis <jordan@centricular.com> | 2022-11-29 19:48:03 +0300 |
---|---|---|
committer | Jordan Petridis <jordan@centricular.com> | 2022-11-29 21:03:29 +0300 |
commit | 12c058bc49026fde12458d99ed31acff63979cc6 (patch) | |
tree | c6b95e448d549717d4205600fd19ca2f78cc5a2c /meson.build | |
parent | 76eeaffbb2c35453dd86f4d36a5bc0aedbc54dad (diff) |
meson: Fix build of static plugins
While we were correctly skipping the plugins that couldn't be
built statically, we were still adding their names to the list
and the .pc list causing them to still get built.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/994>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meson.build b/meson.build index d76f8770b..ce7846e5c 100644 --- a/meson.build +++ b/meson.build @@ -282,13 +282,13 @@ foreach plugin : plugins warning('Static plugin @0@ is known to fail. It will not be included in libgstreamer-full.'.format(plugin_name)) else gst_plugins += dep - endif - pc_files += [plugin_name + '.pc'] - if plugin_name.startswith('gst') - plugin_names += [plugin_name.substring(3)] - else - plugin_names += [plugin_name] + pc_files += [plugin_name + '.pc'] + if plugin_name.startswith('gst') + plugin_names += [plugin_name.substring(3)] + else + plugin_names += [plugin_name] + endif endif endforeach |