uninstalled: Do not concider not installed dynamic libs as possible plugins
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 7 Jun 2017 21:38:59 +0000 (17:38 -0400)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 7 Jun 2017 21:38:59 +0000 (17:38 -0400)
gst-uninstalled.py

index b357838..ed6fb2a 100755 (executable)
@@ -70,7 +70,8 @@ def get_subprocess_env(options):
         elif sharedlib_reg.search(filename):
             if target.get('type') != "shared library":
                 continue
-            if pluginpath_reg.search(os.path.normpath(target.get('install_filename'))):
+
+            if target.get('installed') and pluginpath_reg.search(os.path.normpath(target.get('install_filename'))):
                 prepend_env_var(env, "GST_PLUGIN_PATH", os.path.join(options.builddir, root))
                 continue