Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,21 @@ jobs:
cross-gcc-x86_64:
runs-on: ubuntu-latest
container:
image: archlinux:base-devel
image: ubuntu:24.10
steps:
- uses: actions/checkout@v3
- name: Install deps
run: |
pacman --noconfirm -Suuy
pacman --needed --noconfirm -S mingw-w64-gcc autoconf-archive autoconf automake zip
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y \
gcc-mingw-w64-x86-64 \
g++-mingw-w64-x86-64 \
autoconf-archive \
autoconf \
automake \
zip \
make \
pkg-config

- uses: actions/setup-python@v4
with:
Expand All @@ -188,9 +196,6 @@ jobs:
--host=x86_64-w64-mingw32 \
--build=x86_64-pc-linux-gnu \
--enable-shared \
--with-system-expat \
--with-system-ffi \
--with-system-libmpdec \
--without-ensurepip \
--enable-loadable-sqlite-extensions \
--with-build-python=yes
Expand Down Expand Up @@ -255,9 +260,6 @@ jobs:
--host=${{ matrix.arch }}-w64-mingw32 \
--build=x86_64-pc-linux-gnu \
--enable-shared \
--with-system-expat \
--with-system-ffi \
--with-system-libmpdec \
--without-ensurepip \
--without-c-locale-coercion \
--enable-loadable-sqlite-extensions \
Expand Down
2 changes: 1 addition & 1 deletion Modules/makesetup
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ CYGWIN*) if test $libdir = .
ExtraLibDir='$(LIBPL)'
fi
ExtraLibs="-L$ExtraLibDir -lpython\$(LDVERSION)";;
MINGW*)
*)
ExtraLibs='$(BLDLIBRARY)'
ExtraLibDepends='$(LIBRARY_DEPS)';;
esac
Expand Down
2 changes: 1 addition & 1 deletion Modules/socketmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ shutdown(how) -- shut down traffic in one or both directions\n\
# endif

/* Helpers needed for AF_HYPERV */
# include <Rpc.h>
# include <rpc.h>

/* Macros based on the IPPROTO enum, see: https://bugs.python.org/issue29515 */
#ifdef _MSC_VER
Expand Down
Loading