#NEWLINE# def _pkg_config( self , flags ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# cmd = ( ( [ PKG_CONFIG ] + flags . split ( ) ) + [ self . library_name ] ) #NEWLINE# config = subprocess . check_output ( config , stderr = subprocess . STDOUT ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# return [ ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return config . decode ( ) . strip ( ) . split ( )