Skip to content

Commit

Permalink
build: fix aarch64 build when vendoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed May 31, 2024
1 parent f033c97 commit db1f2c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions trustd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ tokio = { workspace = true, features = ["full"] }
url = { workspace = true }

openssl = "*"
libz-sys = "*"

[features]
default = ["ui"]
Expand All @@ -30,6 +31,9 @@ garage-door = ["trustify-server/garage-door"]

vendored = [
"openssl/vendored",
# when using a vendored approach, we need to statically link zlib, otherwise we get some strange linker error
# unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `__stack_chk_guard@@GLIBC_2.17'
"libz-sys/static"
]
pm = [
"garage-door",
Expand Down

0 comments on commit db1f2c7

Please sign in to comment.