uninstalled: Make the regex to look for plugin paths more generic

We might end up with spurious paths but it is no big deal.
This commit is contained in:
Thibault Saunier 2017-04-24 15:58:07 -03:00
parent 71cf22cc19
commit 60ff3d539b

View file

@ -45,7 +45,7 @@ def get_subprocess_env(options):
sharedlib_reg = re.compile(r'\.so|\.dylib|\.dll')
typelib_reg = re.compile(r'.*\.typelib$')
pluginpath_reg = re.compile(r'lib\w*' + os.path.normpath('/gstreamer-1.0/'))
pluginpath_reg = re.compile(r'lib.*' + os.path.normpath('/gstreamer-1.0/'))
if os.name is 'nt':
lib_path_envvar = 'PATH'