Skip to content

Commit

Permalink
Update windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
serpilliere committed Nov 13, 2023
1 parent bf74edb commit 33ff925
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions build/Dockerfile-windows
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ RUN set -eux; \
pacman-key --init; \
pacman -Sy archlinux-keyring --noconfirm;

RUN set -eux; \
echo 'Server = http://ftp.u-strasbg.fr/linux/distributions/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist ;

RUN set -eux; \
pacman-key --populate; \
pacman -Syu --noconfirm; \
Expand Down Expand Up @@ -81,6 +84,9 @@ RUN set -eux; \
RUN set -eux; \
sudo -u builduser bash -c 'pikaur --noconfirm --noedit -S mingw-w64-opus' ;

RUN set -eux; \
sudo -u builduser bash -c 'pikaur --noconfirm --noedit -S mingw-w64-sdl2' ;


WORKDIR /SRC
CMD FFMPEG_LIB_PATH=/usr/x86_64-w64-mingw32/lib FFMPEG_DIR=/tmp/ffmpeg-6.0/ cargo build --target x86_64-pc-windows-gnu $CARGO_OPT
2 changes: 1 addition & 1 deletion sanzu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ winapi = { version = "0.3", features = [
"impl-default", "winuser", "wingdi", "winbase", "libloaderapi", "processthreadsapi",
"errhandlingapi", "winerror", "commctrl", "sysinfoapi", "shobjidl", "combaseapi",
"commdlg", "d2d1", "objbase", "dwrite", "winnls", "shellapi", "wincodec", "stringapiset",
"d3d9", "d3d9types", "dwmapi", "d3d11", "dxgi1_2"] }
"d3d9", "d3d9types", "dwmapi", "d3d11", "dxgi1_2", "sspi"] }

[target.'cfg(unix)'.dependencies]
libgssapi = { version = "0.6", optional = true }
Expand Down

0 comments on commit 33ff925

Please sign in to comment.