Added support for cross-compiling
This commit is contained in:
parent
832c94069c
commit
4bd50c3806
3 changed files with 14 additions and 1 deletions
9
Cross.toml
Normal file
9
Cross.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
pre-build = [
|
||||
"dpkg --add-architecture $CROSS_DEB_ARCH",
|
||||
]
|
||||
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
pre-build = [
|
||||
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH pkg-config:$CROSS_DEB_ARCH cmake:$CROSS_DEB_ARCH",
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue