Skip to content

Commit

Permalink
new: exploring ways of working around #34
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Jul 17, 2024
1 parent 7530b5c commit 5b3405d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Cargo.lock

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

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ homepage = "https://github.com/evilsocket/legba"


[dependencies]
# force vendored openssl for every dependency
openssl = { version = "0.10.64", features = ["vendored"], optional = true }

ahash = "0.8.3"
ansi_term = "0.12.1"
async-channel = "1.9.0"
Expand Down Expand Up @@ -149,6 +152,9 @@ tcp_ports = ["dep:reqwest"]
samba = ["dep:pavao"]
socks5 = ["dep:fast-socks5"]

# used to build for platforms without openssl
vendored_libs = ["dep:openssl"]

[patch.crates-io]
url = { path = "./crates/rust-url/url" }
form_urlencoded = { path = "./crates/rust-url/form_urlencoded" }
Expand Down
3 changes: 2 additions & 1 deletion Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ xargo = false
zig = false
default-target = "x86_64-unknown-linux-gnu"
pre-build = [
"apt-get update && apt-get --assume-yes install libssl-dev libsmbclient-dev cmake git",
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get --assume-yes install pkg-config:$CROSS_DEB_ARCH libssl-dev:$CROSS_DEB_ARCH libsmbclient-dev:$CROSS_DEB_ARCH cmake git",
]

0 comments on commit 5b3405d

Please sign in to comment.