Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit 66c2d97

Browse files
committed
build/15-rust: set PKG_CONFIG_SYSROOT_DIR=/
1 parent 2c10157 commit 66c2d97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/15-rust.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ build_rust_inject_lto() {
2626
}
2727

2828
build_rust_audit() {
29+
abinfo 'Setting up build environment: $PKG_CONFIG_SYSROOT_DIR= hack ...'
30+
export PKG_CONFIG_SYSROOT_DIR=/
2931
abinfo 'Auditing dependencies...'
3032
if ! command -v cargo-audit > /dev/null; then
3133
abdie "cargo-audit not found: $?."

0 commit comments

Comments
 (0)