Environment details
Steps to reproduce
When I use PkgConfig in a recipe which has a Yocto toolchain package in its build requirements the environment variables set by this package via buildenv_info are not visible to PkgConfig. However, when I set the same variables with env_info it works fine. I think this is not the intended behavior. Yocto toolchains set PKG_CONFIG_PATH so that the pkg-config executable can find the correct .pc files. Without this variable it will query the host system instead.
Logs
No response
Environment details
Steps to reproduce
When I use
PkgConfigin a recipe which has a Yocto toolchain package in its build requirements the environment variables set by this package viabuildenv_infoare not visible toPkgConfig. However, when I set the same variables withenv_infoit works fine. I think this is not the intended behavior. Yocto toolchains setPKG_CONFIG_PATHso that thepkg-configexecutable can find the correct.pcfiles. Without this variable it will query the host system instead.Logs
No response