Skip to content

Commit 32f16ce

Browse files
committed
fix(ci): use pkgconf (not pkgconfig) for Alpine musl targets
Alpine Linux requires 'pkgconf' package name, not 'pkgconfig'. This fixes OpenSSL header detection errors in cross containers.
1 parent bdfbac1 commit 32f16ce

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Cross.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
[target.x86_64-unknown-linux-musl]
55
pre-build = [
6-
# Alpine-based musl images use apk
7-
"apk add --no-cache openssl-dev pkgconfig || (apt-get update && apt-get install -y libssl-dev pkg-config)"
6+
# Alpine-based musl images use apk; pkgconf is required (not pkgconfig)
7+
"apk add --no-cache pkgconf openssl-dev || (apt-get update && apt-get install -y pkg-config libssl-dev)"
88
]
99

1010
[target.aarch64-unknown-linux-musl]
1111
pre-build = [
12-
# Alpine-based musl images use apk
13-
"apk add --no-cache openssl-dev pkgconfig || (apt-get update && apt-get install -y libssl-dev pkg-config)"
12+
# Alpine-based musl images use apk; pkgconf is required (not pkgconfig)
13+
"apk add --no-cache pkgconf openssl-dev || (apt-get update && apt-get install -y pkg-config libssl-dev)"
1414
]
1515

1616
[target.aarch64-unknown-linux-gnu]

0 commit comments

Comments
 (0)