mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-01 21:52:20 +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
1 changed files with 4 additions and 3 deletions
|
@ -32,7 +32,8 @@ cargo_cmd = ['cargo', 'build', '--manifest-path',
|
|||
if target == 'release':
|
||||
cargo_cmd.append('--release')
|
||||
|
||||
for e in exclude.split(','):
|
||||
if len(exclude) > 0:
|
||||
for e in exclude.split(','):
|
||||
cargo_cmd.append('--exclude')
|
||||
cargo_cmd.append(e)
|
||||
|
||||
|
|
Loading…
Reference in a new issue