summaryrefslogtreecommitdiff
path: root/gst-env.py
diff options
context:
space:
mode:
authorPhilippe Normand <philn@igalia.com>2019-11-02 16:23:45 +0100
committerPhilippe Normand <philn@igalia.com>2019-11-06 09:33:46 +0100
commitaded9c617fa334774d746ef0ebd3cd879c343bb4 (patch)
tree8e320fb662a103f297ef9eb07ec264bc878279a8 /gst-env.py
parentf7ac326d5a4315d98310a45459d0413d71795b4c (diff)
downloadgstreamer-aded9c617fa334774d746ef0ebd3cd879c343bb4.tar.gz
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.
Diffstat (limited to 'gst-env.py')
-rwxr-xr-xgst-env.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-env.py b/gst-env.py
index 16c7a1498f..c5e2fc801a 100755
--- a/gst-env.py
+++ b/gst-env.py
@@ -77,7 +77,7 @@ def is_library_target_and_not_plugin(target, filename):
if not SHAREDLIB_REG.search(filename):
return False
# 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)):
break
else: