# validatePkgConfig {#validatepkgconfig}
The `validatePkgConfig` hook validates all pkg-config (`.pc`) files in a package. This helps catching some common errors in pkg-config files, such as undefined variables.
Title: validatePkgConfig Hook
Summary
The `validatePkgConfig` hook is designed to check `.pc` files within a package for common errors, specifically identifying issues like undefined variables.