Skip to content

Commit f43bc26

Browse files
committed
fix(rivetkit-napi): vendor openssl for aarch64-linux-gnu cross build
1 parent 73f3cf6 commit f43bc26

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • rivetkit-typescript/packages/rivetkit-napi

rivetkit-typescript/packages/rivetkit-napi/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,10 @@ napi-build = "2"
3232

3333
[dev-dependencies]
3434
serde_bare.workspace = true
35+
36+
# Force vendored openssl for the aarch64-linux-gnu cross build. The linux-gnu
37+
# builder image ships x86_64 libssl-dev only, so transitive openssl-sys (via
38+
# reqwest/native-tls pulled in by opentelemetry-http) cannot find arm64 headers
39+
# through pkg-config. Vendoring compiles openssl from source instead.
40+
[target.'cfg(all(target_arch = "aarch64", target_env = "gnu"))'.dependencies]
41+
openssl = { version = "0.10", features = ["vendored"] }

0 commit comments

Comments
 (0)