[csw-devel] SF.net SVN: gar:[21716] csw/mgar/gar/v2/lib/python/dependency_checks.py

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Mon Aug 12 23:47:24 CEST 2013


Revision: 21716
          http://gar.svn.sourceforge.net/gar/?rev=21716&view=rev
Author:   chninkel
Date:     2013-08-12 21:47:24 +0000 (Mon, 12 Aug 2013)
Log Message:
-----------
gar/v2: no-direct-binding check: make symbol direct binding test even simpler

If symbol['soname'] is not None, that means that it's an external
symbol, so we don't need to check the symbol shndx.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/dependency_checks.py

Modified: csw/mgar/gar/v2/lib/python/dependency_checks.py
===================================================================
--- csw/mgar/gar/v2/lib/python/dependency_checks.py	2013-08-12 21:34:47 UTC (rev 21715)
+++ csw/mgar/gar/v2/lib/python/dependency_checks.py	2013-08-12 21:47:24 UTC (rev 21716)
@@ -193,7 +193,7 @@
         # not to be directly bound to.
         # So we consider that direct binding is enabled if at least one
         # symbol is directly bound to the library
-        if (syminfo['shndx'] in ('UNDEF', '.bss') and 'B' in syminfo['flags']):
+        if 'B' in syminfo['flags']:
           db_libs.add(syminfo['soname'])
 
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list