<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "PackageDescription",
  "identifier" : "/documentation/PackageDescription/Target/pkgConfig",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "PackageDescription"
    ],
    "preciseIdentifier" : "s:18PackageDescription6TargetC9pkgConfigSSSgvp"
  },
  "title" : "pkgConfig"
}
-->

# pkgConfig

The name of the package configuration file, without extension, for the system library target.

```
final let pkgConfig: String?
```

## Discussion

If present, the Swift Package Manager tries every package configuration
name separated by a space to search for the `<name>.pc` file
to get the additional flags needed for the system library target.

---

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)