# LinkerInput

{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/cpp/LinkerInputApi.java" %} {% dynamic setvar version "7.2.0" %} {% dynamic setvar original_path "/rules/lib/builtins/LinkerInput" %} {% include "_buttons.html" %} Either libraries, flags or other files that may be passed to the linker as inputs.

## Members

- additional_inputs
- libraries
- owner
- user_link_flags

## additional_inputs

    sequence LinkerInput.additional_inputs

Returns the depset of additional inputs, e.g.: linker scripts.

## libraries

    sequence LinkerInput.libraries

Returns the depset of `LibraryToLink`. May return a list but this is deprecated. See #8118.

## owner

    Label LinkerInput.owner

Returns the owner of this LinkerInput.

## user_link_flags

    sequence LinkerInput.user_link_flags

Returns the list of user link flags passed as strings.