mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
gst-env: Ensure target install filename is a list
At least in Meson 0.49, the target['install_name'] is a string, not a list, so the heuristics declared in the is_library_target_and_not_plugin() can't apply because Python is actually happy to iterate over a string without any warning.
This commit is contained in:
parent
f7ac326d5a
commit
aded9c617f
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ def is_library_target_and_not_plugin(target, filename):
|
||||||
if not SHAREDLIB_REG.search(filename):
|
if not SHAREDLIB_REG.search(filename):
|
||||||
return False
|
return False
|
||||||
# Check if it's installed to the gstreamer plugin location
|
# Check if it's installed to the gstreamer plugin location
|
||||||
for install_filename in target['install_filename']:
|
for install_filename in listify(target['install_filename']):
|
||||||
if install_filename.endswith(os.path.basename(filename)):
|
if install_filename.endswith(os.path.basename(filename)):
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue