# validatePkgConfig {#validatepkgconfig}
The `validatePkgConfig` hook validates all pkg-config (`.pc`) files in a package. This helps catch some common errors in pkg-config files, such as undefined variables.
Chunks
39992dcb (1st chunk of `doc/hooks/validatePkgConfig.section.md`)
Title: validatePkgConfig Hook
Summary
The `validatePkgConfig` hook is designed to validate all pkg-config (`.pc`) files within a package, effectively catching common errors such as undefined variables.