(ldflags: T.Iterable[str])
g-ir-scanner only accepts -L/-l; must ignore -F and other linker flags
g-ir-scanner only accepts -L/-l; must ignore -F and other linker flags
g - ir - scanner only accepts - L / - l ; must ignore - F and other linker flags
def _get_scanner_ldflags(ldflags: T.Iterable[str]) -> T.Iterable[str]:
        'g-ir-scanner only accepts -L/-l; must ignore -F and other linker flags'
        for f in ldflags:
            if f.startswith(('-L', '-l', '--extra-library')):
                yield f
def _get_scanner_ldflags ( ldflags : T . Iterable [ str ] ) -> T . Iterable [ str ] : for f in ldflags : if f . startswith ( ( '-L' , '-l' , '--extra-library' ) ) : yield f