Skip to content

Commit bc0a08a

Browse files
committed
fix(ci): add PKG_CONFIG_SYSROOT_DIR for cross-compilation
Aligns with chatserve's docker:run configuration to fix pkg-config cross-compilation for aarch64 builds.
1 parent cd779ce commit bc0a08a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Taskfile.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ tasks:
232232
-e CARGO_HOME=/home/build/.cargo \
233233
-e CARGO_NET_GIT_FETCH_WITH_CLI=true \
234234
-e GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" \
235+
-e PKG_CONFIG_SYSROOT_DIR="/usr/{{.ARCH}}-linux-gnu" \
235236
--user {{.UID}}:{{.GID}} \
236237
{{.IMAGE_NAME}}:{{.IMAGE_TAG}} \
237238
task {{.TARGET}} ARCH={{.ARCH}} TARGET_ARCH={{.TARGET_ARCH}}

0 commit comments

Comments
 (0)