'Returns flags that need to be passed to the static linker.
Args:
configname: The name of the configuration to get ld flags for.'

def GetLibtoolflags(self, configname):

    self.configname = configname
    libtoolflags = []
    for libtoolflag in self._Settings().get('OTHER_LDFLAGS', []):
        libtoolflags.append(libtoolflag)
    self.configname = None
    return libtoolflags
