nginx: openresty
download: mirrors.tuna.tsinghua.edu.cn/msys2/distrib/x86_64/msys2-base-x86_64-20250622.tar.xz
$ sed -i s|https?://mirror.msys2.org|https://mirrors.tuna.tsinghua.edu.cn/msys2|g /etc/pacman.d/mirrorlist*
$ pacman -Syu –noconfirm
$ pacman -S –noconfirm base-devel mingw-w64-x86_64-toolchain
#pacman -S –noconfirm vim
#pacman -S –noconfirm mingw-w64-x86_64-gcc
pacman -S –noconfirm autoconf
$ mkdir -p ~/build && cd ~/build
#shadow clone
$ git clone –depth=1 https://github.com/openresty/openresty.git
$ cd openresty
$ ./util/build-win32.sh –target=x64
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...
