mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-06-16 21:20:33 +00:00
meson: don't pass empty --exclude when building all plugins
''.split(',') returns [''] and not [].
This commit is contained in:
parent
e158f4ef88
commit
46dda60db9
|
@ -32,6 +32,7 @@ cargo_cmd = ['cargo', 'build', '--manifest-path',
|
|||
if target == 'release':
|
||||
cargo_cmd.append('--release')
|
||||
|
||||
if len(exclude) > 0:
|
||||
for e in exclude.split(','):
|
||||
cargo_cmd.append('--exclude')
|
||||
cargo_cmd.append(e)
|
||||
|
|
Loading…
Reference in a new issue