Include architecture-neutral metadata in the x64 sysroot.
Some checks failed
Tagged release / prepare-release (push) Successful in 2m57s
Tagged release / build-linux-x64 (push) Failing after 28m54s
Tagged release / build-macos (push) Has been skipped
Tagged release / build-linux-arm64 (push) Has been skipped
Tagged release / build-windows (push) Has been skipped
Tagged release / publish-release (push) Has been skipped

This commit is contained in:
Hermes Agent
2026-08-14 14:46:01 +00:00
parent b0e10f52e7
commit 83fe50657d
2 changed files with 8 additions and 0 deletions

View File

@@ -79,6 +79,13 @@ case "$target" in
for package in "$archives"/*.deb; do
sudo dpkg-deb --extract "$package" "$sysroot"
done
# Architecture-independent development packages may already be
# installed on the host, so apt does not download them again. Their
# pkg-config files contain no host binaries and are safe to reuse with
# PKG_CONFIG_SYSROOT_DIR, which redirects every path into this sysroot.
sudo mkdir -p "$sysroot/usr/share/pkgconfig"
sudo cp -a /usr/share/pkgconfig/. "$sysroot/usr/share/pkgconfig/"
;;
*)
echo "unsupported Linux build target: $target" >&2