mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Build libslirp for mingw32 by our own (Windows Installer)
This commit is contained in:
15
.github/workflows/windows-installers.yml
vendored
15
.github/workflows/windows-installers.yml
vendored
@@ -178,7 +178,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
msystem: MINGW32
|
msystem: MINGW32
|
||||||
update: true
|
update: true
|
||||||
install: git mingw-w64-i686-toolchain mingw-w64-i686-libtool mingw-w64-i686-nasm autoconf automake mingw-w64-i686-libslirp
|
install: git mingw-w64-i686-toolchain mingw-w64-i686-libtool mingw-w64-i686-nasm autoconf automake
|
||||||
- name: Update build info
|
- name: Update build info
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@@ -191,6 +191,19 @@ jobs:
|
|||||||
echo "#define GIT_COMMIT_HASH \"${shortsha}\"" >> include/build_timestamp.h
|
echo "#define GIT_COMMIT_HASH \"${shortsha}\"" >> include/build_timestamp.h
|
||||||
echo "#define COPYRIGHT_END_YEAR \"${copyrightyear}\"" >> include/build_timestamp.h
|
echo "#define COPYRIGHT_END_YEAR \"${copyrightyear}\"" >> include/build_timestamp.h
|
||||||
cat include/build_timestamp.h
|
cat include/build_timestamp.h
|
||||||
|
- name: Install libslirp
|
||||||
|
run: |
|
||||||
|
# Run this job when MinGW drops 32-bit library support (Other libraries can be built as well)
|
||||||
|
top=`pwd`
|
||||||
|
mkdir pkg
|
||||||
|
cd pkg
|
||||||
|
git clone https://github.com/msys2/MINGW-packages.git
|
||||||
|
pwd
|
||||||
|
cd MINGW-packages
|
||||||
|
cd mingw-w64-libslirp
|
||||||
|
sed -i -e "s/^mingw_arch=\(.*\)/mingw_arch=(\'mingw32\')/" PKGBUILD
|
||||||
|
MINGW_ARCH=MINGW32 makepkg-mingw -sCLf --noconfirm
|
||||||
|
pacman --noconfirm -U mingw-w64-*-any.pkg.tar.zst
|
||||||
- name: Build MinGW32 SDL1
|
- name: Build MinGW32 SDL1
|
||||||
run: |
|
run: |
|
||||||
top=`pwd`
|
top=`pwd`
|
||||||
|
Reference in New Issue
Block a user