(self, libraries)
return [lib + '.lib' if not lib.lower().endswith('.lib') \
            and not lib.lower().endswith('.obj') else lib for lib in libs]
Strip -l from library if it's specified with that.
Strip -l from library if it's specified with that.
Strip - l from library if it s specified with that .
def AdjustLibraries(self, libraries):
    """Strip -l from library if it's specified with that."""
    libs = [lib[2:] if lib.startswith('-l') else lib for lib in libraries]
    return [lib + '.lib' if not lib.lower().endswith('.lib') \
            and not lib.lower().endswith('.obj') else lib for lib in libs]
def AdjustLibraries ( self , libraries ) : libs = [ lib [ 2 : ] if lib . startswith ( '-l' ) else lib for lib in libraries ] return [ lib + '.lib' if not lib . lower ( ) . endswith ( '.lib' ) and not lib . lower ( ) . endswith ( '.obj' ) else lib for lib in libs ]