#NEWLINE# def extract_libtool_shlib( self , la_file ) : #NEWLINE# #INDENT# '\n        Returns the path to the shared library\n        corresponding to this .la file\n        ' #NEWLINE# dlname = self . extract_dlname_field ( dlbasename ) #NEWLINE# if ( dlname is None ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# if mesonlib . is_osx ( ) : #NEWLINE# #INDENT# dlbasename = os . path . basename ( dlname ) #NEWLINE# libdir = self . extract_libdir_field ( la_file ) #NEWLINE# if ( libdir is None ) : #NEWLINE# #INDENT# return dlbasename #NEWLINE# #UNINDENT# return os . path . join ( libdir , dlbasename ) #NEWLINE# #UNINDENT# return os . path . basename ( dlname )