Try with: export PKG_CONFIG

This commit is contained in:
Imbris 2021-11-18 09:10:51 -05:00
parent 30df174c3d
commit 0816624d23

View File

@ -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)