From b98c01d93141d52187046c7127d2dde0882db185 Mon Sep 17 00:00:00 2001 From: Jeremi Piotrowski Date: Wed, 6 Mar 2024 13:10:17 +0000 Subject: [PATCH] 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 Co-Authored-By: Mathieu Tortuyaux --- .../coreos-overlay/coreos/config/env/app-containers/incus | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-containers/incus diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-containers/incus b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-containers/incus new file mode 100644 index 0000000000..667637407e --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-containers/incus @@ -0,0 +1,3 @@ +cros_pre_src_compile_pkgconfig() { + export PKG_CONFIG="$(tc-getPKG_CONFIG)" +}