Skip to content

Commit

Permalink
coreos/config: Export PKG_CONFIG for incus
Browse files Browse the repository at this point in the history
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 <[email protected]>
Co-Authored-By: Mathieu Tortuyaux <[email protected]>
  • Loading branch information
jepio and tormath1 committed Mar 13, 2024
1 parent f6aa3e4 commit d518867
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
cros_pre_src_compile_pkgconfig() {
export PKG_CONFIG="$(tc-getPKG_CONFIG)"
}

0 comments on commit d518867

Please sign in to comment.