Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit d6b6027

Browse files
committed
Update naev-windows to include more packages to help build Rust branch.
1 parent 6797964 commit d6b6027

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
- `naev-steamruntime` (Used for testing linux steam builds in the steamruntime (sniper) environment with extra dependencies installed.)
88
- `naev-windows` (Used to cross compile for Windows.)
99

10+
### v1.12.3
11+
- Update `naev-windows` to include more packages to help build Rust branch
12+
1013
### v1.12.2
1114
- Update `naev-steamruntime` to build static libraries correctly and remove pre-installed OpenAL in favour of our own newer build
1215

naev-windows/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ COPY setup-devenv.sh /usr/bin
1515

1616
RUN microdnf update -y && \
1717
microdnf --nodocs --setopt=install_weak_deps=0 -y install clang gcc gettext git lld llvm meson ninja-build python3-pyyaml rustup tar texinfo xz unzip zip \
18+
# OK, seems like the rust is a bit a of mess as it is trying to compile some things internally with hardcoded mingw64 paths
19+
# We have to toss the dependencies here so that it works. In particular, mlua-sys seems to want to build luajit
20+
# Would make sense to try to use either only ucrt64 or mingw64 stuff someday
21+
mingw64-binutils mingw64-gcc \
22+
mingw64-libvorbis mingw64-win-iconv mingw64-openal-soft \
23+
libvorbis-devel openal-soft-devel \
1824
# Install mingw64 packages
1925
ucrt64-gcc ucrt64-gcc-c++ ucrt64-dlfcn ucrt64-enet ucrt64-freetype ucrt64-libvorbis ucrt64-libxml2 ucrt64-libtiff \
2026
ucrt64-openal-soft ucrt64-SDL2 ucrt64-SDL2_image ucrt64-libpng mingw32-nsis ucrt64-pcre2 ucrt64-physfs && \

naev-windows/setup-devenv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Print a message
44
echo "Configuring the development environment"
55

6-
rustup-init -y -t x86_64-pc-windows-gnullvm
6+
rustup-init -y -t x86_64-pc-windows-gnu
77

88
# Source the environment file
99
source ~/.cargo/env

0 commit comments

Comments
 (0)