Commit bbe157b
committed
Build and link with openssl statically
Dynamic linking with openssl does not work well with cross-compilation:
the Docker image `cross` uses for aarch64 is based on Ubuntu Xenial
that has libssl1.0.0, while the ones available on Raspbian (and other
modern distros) are libssl1.1 and libssl3.
Instead, we can use the feature of `openssl-sys` that allows to build
and statically link openssl to avoid the hassle with shared object
versions that vary between Linux distros.
This makes Cross.toml completely unnecessary.1 parent dd578cb commit bbe157b
3 files changed
+12
-5
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
This file was deleted.
0 commit comments