mirror of
https://github.com/python/cpython.git
synced 2024-11-28 04:15:11 +08:00
bpo-46023: Skip build if module is marked as DISABLED (GH-30100)
This commit is contained in:
parent
d46d08d947
commit
74821b3053
@ -3,6 +3,7 @@
|
||||
# ---
|
||||
# Built-in modules required to get a functioning interpreter;
|
||||
# cannot be built as shared!
|
||||
*static*
|
||||
|
||||
# module C APIs are used in core
|
||||
atexit atexitmodule.c
|
||||
|
@ -207,7 +207,10 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
|
||||
libs="\$(MODULE_${mods_upper}_LDFLAGS)"
|
||||
fi
|
||||
case $DISABLED in
|
||||
*$mods*) doconfig=disabled;;
|
||||
*$mods*)
|
||||
# disabled by previous rule / Setup file
|
||||
continue
|
||||
;;
|
||||
esac
|
||||
case $doconfig in
|
||||
yes)
|
||||
|
Loading…
Reference in New Issue
Block a user