Fixes setting of GST_PLUGIN_PATH on Fedora 64-bit
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/'))
if os.name is 'nt':
lib_path_envvar = 'PATH'
elif sharedlib_reg.search(filename):
if target.get('type') != "shared library":
continue
-
- if os.path.normpath("lib/gstreamer-1.0") in os.path.normpath(target.get('install_filename')):
+ if pluginpath_reg.search(os.path.normpath(target.get('install_filename'))):
prepend_env_var(env, "GST_PLUGIN_PATH", os.path.join(options.builddir, root))
continue