From 0816624d2301c27f1f3d93b0e662577ce9a6806f Mon Sep 17 00:00:00 2001 From: Imbris Date: Thu, 18 Nov 2021 09:10:51 -0500 Subject: [PATCH] Try with: export PKG_CONFIG --- .gitlab/scripts/linux-aarch64.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab/scripts/linux-aarch64.sh b/.gitlab/scripts/linux-aarch64.sh index 4c2f941865..355f8aa4a2 100755 --- a/.gitlab/scripts/linux-aarch64.sh +++ b/.gitlab/scripts/linux-aarch64.sh @@ -1,4 +1,5 @@ #!/bin/bash export VELOREN_USERDATA_STRATEGY=executable -PKG_CONFIG="/usr/bin/aarch64-linux-gnu-pkg-config" time cargo build --target=aarch64-unknown-linux-gnu --release --no-default-features --features default-publish +export PKG_CONFIG="/usr/bin/aarch64-linux-gnu-pkg-config" +time cargo build --target=aarch64-unknown-linux-gnu --release --no-default-features --features default-publish # evaluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on release (but faster on debug)