Debian Codegraph @

tools/mingw-w64/msys2-dependencies.sh

raw
1 #!/bin/bash
2
3 set -e
4
5 export msys2='cmd //C RefreshEnv.cmd '
6 export msys2+='& set MSYS=winsymlinks:nativestrict '
7 export msys2+='& C:\\msys64\\msys2_shell.cmd -defterm -no-start'
8 export mingw64="$msys2 -mingw64 -full-path -here -c "\"\$@"\" --"
9 export msys2+=" -msys2 -c "\"\$@"\" --"
10
11 # Have to update pacman first or choco upgrade will failure due to migration
12 # to zstd instead of xz compression
13 $msys2 pacman -Sy --noconfirm pacman
14
15 ## Install more MSYS2 packages from https://packages.msys2.org/base here
16 $msys2 pacman --sync --noconfirm --needed mingw-w64-x86_64-gcc
17
18 ## Install unzip
19 $msys2 pacman --sync --noconfirm --needed unzip