mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 22:59:27 +00:00
Cargo.toml: fix macOS link issues
This commit is contained in:
parent
9efe1e0d1a
commit
dec25895ff
2 changed files with 8 additions and 1 deletions
|
@ -88,6 +88,13 @@ eframe = { version = "0.19.0", default-features = false, features = ["glow"] }
|
|||
#
|
||||
# https://gitlab.torproject.org/tpo/core/arti/-/issues/715
|
||||
tls-api-openssl = "0.9.0"
|
||||
# `arti-client` with `static` doesn't actually
|
||||
# statically link OpenSSL on macOS, both x64 + ARM.
|
||||
# Should probably file a bug report.
|
||||
openssl = { version = "0.10", features = ["vendored"] }
|
||||
# We don't even use `xz` in `flate2` but this gets dynamically
|
||||
# linked as well which causes problems, so statically link it.
|
||||
lzma-sys = { version = "0.1.20", features = ["static"] }
|
||||
|
||||
# Windows/Linux Tor
|
||||
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
||||
|
|
|
@ -638,7 +638,7 @@ Due to an issue with some [TLS code](https://gitlab.torproject.org/tpo/core/arti
|
|||
|
||||
These are statically linked into Gupax, so you'll need to have them on your system:
|
||||
```bash
|
||||
brew install pkg-config openssl
|
||||
brew install pkg-config openssl xz
|
||||
```
|
||||
|
||||
If you want the binary to have an icon, you must use [`cargo-bundle`](https://github.com/burtonageo/cargo-bundle):
|
||||
|
|
Loading…
Reference in a new issue