coreos/config: Export PKG_CONFIG for incus

Incus 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>
Co-Authored-By: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
Jeremi Piotrowski 2024-03-06 13:10:17 +00:00 committed by Mathieu Tortuyaux
parent e9765242a7
commit b98c01d931
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8

View File

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