Skip to content

Commit

Permalink
Configure Cross to install pre-build openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
maciektr committed Oct 30, 2023
1 parent f40f8f5 commit 744b92c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[target.x86_64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
]

[target.x86_64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
]

[target.aarch64-unknown-linux-musl]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
]

[target.aarch64-unknown-linux-musl]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
]

0 comments on commit 744b92c

Please sign in to comment.