Skip to content

Commit 7c8ae12

Browse files
committed
add missing openssl dependency to cross setup
1 parent a26a19f commit 7c8ae12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Cross.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
[target.x86_64-unknown-linux-gnu]
2-
pre-build = ["apt-get update && apt-get install --assume-yes unzip ",
2+
pre-build = ["apt-get update && apt-get install --assume-yes unzip libssl-dev:$CROSS_DEB_ARCH",
33
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
44
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
55
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"]
66

77
[target.armv7-unknown-linux-gnueabihf]
8-
pre-build = ["apt-get update && apt-get install --assume-yes unzip ",
8+
pre-build = ["apt-get update && apt-get install --assume-yes unzip libssl-dev:$CROSS_DEB_ARCH",
99
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
1010
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
1111
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"]
1212

1313
[target.aarch64-unknown-linux-gnu]
14-
pre-build = ["apt-get update && apt-get install --assume-yes unzip ",
14+
pre-build = ["apt-get update && apt-get install --assume-yes unzip libssl-dev libssl-dev:$CROSS_DEB_ARCH",
1515
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
1616
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
1717
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"]
1818

1919
[target.x86_64-unknown-freebsd]
20-
pre-build = ["apt-get update && apt-get install --assume-yes unzip ",
20+
pre-build = ["apt-get update && apt-get install --assume-yes unzip libssl-dev",
2121
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
2222
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
2323
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"]

0 commit comments

Comments
 (0)