Skip to content

Commit

Permalink
give sdl2 dpkg-dev for cross compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
CasualPokePlayer committed Feb 17, 2024
1 parent 7325580 commit eeccefa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if [ $TARGET_RID = "linux-x64" ]; then
apt-get install -y zlib1g-dev
elif [ $TARGET_RID = "linux-arm64" ]; then
# Install aarch64 cross compiling setup
apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu pkg-config-aarch64-linux-gnu
apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu pkg-config-aarch64-linux-gnu dpkg-dev
export PKG_CONFIG=aarch64-linux-gnu-pkg-config
export EXTRA_CMAKE_ARGS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DCMAKE_C_FLAGS=--target=aarch64-linux-gnu -DCMAKE_CXX_FLAGS=--target=aarch64-linux-gnu"
# Enable ARM64 packages
Expand Down

0 comments on commit eeccefa

Please sign in to comment.