<!--
{
  "availability" : [

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

# pkgConfig

The name to use for C modules.

```
final var pkgConfig: String?
```

## Discussion

If present, the Swift Package Manager searches for a `<name>.pc` file to
get the required additional flags for a system 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)