Issue #28444: Merge with 3.5. · bravegnu/cpython@0eacef3 · GitHub
Skip to content

Commit 0eacef3

Browse files
author
Xavier de Gaye
committed
Issue python#28444: Merge with 3.5.
2 parents d76d8bf + 84968b7 commit 0eacef3

4 files changed

Lines changed: 28 additions & 23 deletions

File tree

Makefile.pre.in

Lines changed: 1 addition & 0 deletions

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ Windows
9595
Build
9696
-----
9797

98+
- Issue #28444: Fix missing extensions modules when cross compiling.
99+
98100
- Issue #28208: Update Windows build to use SQLite 3.14.2.0.
99101

100102
- Issue #28248: Update Windows build to use OpenSSL 1.0.2j.

Modules/makesetup

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#
3030
# Copying Makefile.pre to Makefile:
3131
# - insert an identifying comment at the start
32+
# - replace _MODNAMES_ by the list of modules from Setup
3233
# - replace _MODOBJS_ by the list of objects from Setup (except for
3334
# Setup files after a -n option)
3435
# - replace _MODLIBS_ by the list of libraries from Setup
@@ -110,6 +111,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
110111
# Rules appended by makedepend
111112
" >$rulesf
112113
DEFS=
114+
NAMES=
113115
MODS=
114116
SHAREDMODS=
115117
OBJS=
@@ -181,7 +183,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
181183
*.*) echo 1>&2 "bad word $arg in $line"
182184
exit 1;;
183185
-u) skip=libs; libs="$libs -u";;
184-
[a-zA-Z_]*) mods="$mods $arg";;
186+
[a-zA-Z_]*) NAMES="$NAMES $arg"; mods="$mods $arg";;
185187
*) echo 1>&2 "bad word $arg in $line"
186188
exit 1;;
187189
esac
@@ -280,6 +282,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
280282
echo "1i\\" >$sedf
281283
str="# Generated automatically from $makepre by makesetup."
282284
echo "$str" >>$sedf
285+
echo "s%_MODNAMES_%$NAMES%" >>$sedf
283286
echo "s%_MODOBJS_%$OBJS%" >>$sedf
284287
echo "s%_MODLIBS_%$LIBS%" >>$sedf
285288
echo "/Definitions added by makesetup/a$NL$NL$DEFS" >>$sedf

setup.py

Lines changed: 21 additions & 22 deletions

0 commit comments

Comments
 (0)