diff --git a/Cross.toml b/Cross.toml index 6f820401..d3ca1e25 100644 --- a/Cross.toml +++ b/Cross.toml @@ -5,5 +5,4 @@ image = "ghcr.io/defguard/cross:x86_64-unknown-linux-gnu" image = "ghcr.io/defguard/cross:armv7-unknown-linux-gnueabihf" [target.x86_64-unknown-freebsd] -image = "x86_64-unknown-freebsd-cross-v3:latest" -pre-build = ["pkg install rust curl protobuf"] +pre-build = [" apt-get update && apt-get install --assume-yes unzip && PB_REL='https://github.com/protocolbuffers/protobuf/releases' && PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip && unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"]