# LinkSharedLibrary

API Documentation: | `LinkSharedLibrary`

Note: This class is incubating and may change in a future version of Gradle.

Links a binary shared library from object files and imported libraries.

### Properties

Property | Description
`debuggable` | Incubating Create a debuggable binary?
`libs` | Incubating The library files to be passed to the linker.
`linkedFile` | Incubating The file where the linked binary will be located.
`linkerArgs` | Incubating Additional arguments passed to the linker.
`source` | Incubating The source object files to be passed to the linker.
`targetPlatform` | Incubating The platform being linked for.
`toolChain` | Incubating The tool chain used for linking.

### Methods

Method | Description
`lib(libs)` | Incubating Adds a set of library files to be linked. The provided libs object is evaluated as per `Project.files(java.lang.Object[])`.
`source(source)` | Incubating Adds a set of object files to be linked. The provided source object is evaluated as per `Project.files(java.lang.Object[])`.

### Script blocks

No script blocks

### Property details

#### ``Property`<`Boolean`>` `debuggable`

Note: This property is incubating and may change in a future version of Gradle.

Create a debuggable binary?

#### `ConfigurableFileCollection` `libs`

Note: This property is incubating and may change in a future version of Gradle.

The library files to be passed to the linker.

#### `RegularFileProperty` `linkedFile`

Note: This property is incubating and may change in a future version of Gradle.

The file where the linked binary will be located.

#### ``ListProperty`<`String`>` `linkerArgs`

Note: This property is incubating and may change in a future version of Gradle.

Additional arguments passed to the linker.

#### `ConfigurableFileCollection` `source`

Note: This property is incubating and may change in a future version of Gradle.

The source object files to be passed to the linker.

#### ``Property`<`NativePlatform`>` `targetPlatform`

Note: This property is incubating and may change in a future version of Gradle.

The platform being linked for.

#### ``Property`<`NativeToolChain`>` `toolChain`

Note: This property is incubating and may change in a future version of Gradle.

The tool chain used for linking.

### Method details

#### `void` `lib`(`Object` libs)

Note: This method is incubating and may change in a future version of Gradle.

Adds a set of library files to be linked. The provided libs object is evaluated as per `Project.files(java.lang.Object[])`.

#### `void` `source`(`Object` source)

Note: This method is incubating and may change in a future version of Gradle.

Adds a set of object files to be linked. The provided source object is evaluated as per `Project.files(java.lang.Object[])`.