Contents

linkedLibrary(_:_:)

Declares linkage to a system library.

Declaration

static func linkedLibrary(_ library: String, _ condition: BuildSettingCondition? = nil) -> LinkerSetting

Parameters

  • library:

    The library name.

  • condition:

    A condition that restricts the application of the build setting.

Discussion

This setting is most useful when the library can’t be linked automatically, such as C++ based libraries and non-modular libraries.

See Also

Configuring Linker Settings