Skip to content

Commit 1c22f5b

Browse files
chore: add Cross.toml configuration for Steam Deck builds
1 parent cd8b0a9 commit 1c22f5b

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

CROSS.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[build.env]
2+
passthrough = [
3+
"PKG_CONFIG_ALLOW_CROSS=1",
4+
]
5+
6+
[target.x86_64-unknown-linux-gnu]
7+
pre-build = [
8+
"dpkg --add-architecture amd64",
9+
"apt-get update",
10+
"apt-get install -y pkg-config libvulkan-dev:amd64 libwayland-dev:amd64 libxkbcommon-dev:amd64 libx11-dev:amd64 libxcb1-dev:amd64 libxcb-render0-dev:amd64 libxcb-shape0-dev:amd64 libxcb-xfixes0-dev:amd64 libudev-dev:amd64",
11+
]
12+
13+
[target.x86_64-unknown-linux-gnu.env]
14+
passthrough = [
15+
"PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig",
16+
"PKG_CONFIG_ALLOW_CROSS=1",
17+
]

0 commit comments

Comments
 (0)