<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "PackageDescription",
  "identifier" : "/documentation/PackageDescription/LinkerSetting",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PackageDescription"
    ],
    "preciseIdentifier" : "s:18PackageDescription13LinkerSettingV"
  },
  "title" : "LinkerSetting"
}
-->

# LinkerSetting

A linker build setting.

```
struct LinkerSetting
```

## Topics

### Configuring Linker Settings

[`linkedFramework(_:_:)`](/documentation/PackageDescription/LinkerSetting/linkedFramework(_:_:))

Declares linkage to a system framework.

[`linkedLibrary(_:_:)`](/documentation/PackageDescription/LinkerSetting/linkedLibrary(_:_:))

Declares linkage to a system library.

[`unsafeFlags(_:_:)`](/documentation/PackageDescription/LinkerSetting/unsafeFlags(_:_:))

Sets unsafe flags to pass arbitrary command-line flags to the
corresponding build tool.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)