coreos/config: Export PKG_CONFIG for podman

Podman build uses pkg-config support in Go to link against some library.
This needs the correct sysroot version of PKG_CONFIG to be exported.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
Jeremi Piotrowski 2024-03-06 13:10:17 +00:00
parent 5405224aea
commit 042f30ea40

View File

@ -0,0 +1,3 @@
cros_pre_src_compile_pkgconfig() {
export PKG_CONFIG="$(tc-getPKG_CONFIG)"
}