Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Petridis <jordan@centricular.com>2022-11-29 19:48:03 +0300
committerJordan Petridis <jordan@centricular.com>2022-11-29 21:03:29 +0300
commit12c058bc49026fde12458d99ed31acff63979cc6 (patch)
treec6b95e448d549717d4205600fd19ca2f78cc5a2c /meson.build
parent76eeaffbb2c35453dd86f4d36a5bc0aedbc54dad (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.build12
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