mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-25 11:30:29 +00:00
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>
This commit is contained in:
parent
76eeaffbb2
commit
12c058bc49
2 changed files with 7 additions and 7 deletions
|
@ -7,7 +7,7 @@ import os
|
|||
from utils import iterate_plugins
|
||||
|
||||
# the csound version used on ci does not ship a .pc file
|
||||
IGNORE = ['csound']
|
||||
IGNORE = ['csound', 'threadshare']
|
||||
|
||||
outdir = sys.argv[1]
|
||||
|
||||
|
|
12
meson.build
12
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue