mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-46023: Fix makesetup handling of disabled rule (GH-30001)
This commit is contained in:
parent
74b23c97cd
commit
036bbb1d1b
2 changed files with 5 additions and 0 deletions
|
@ -206,6 +206,9 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
|
|||
cpps="\$(MODULE_${mods_upper}_CFLAGS)"
|
||||
libs="\$(MODULE_${mods_upper}_LDFLAGS)"
|
||||
fi
|
||||
case $DISABLED in
|
||||
*$mods*) doconfig=disabled;;
|
||||
esac
|
||||
case $doconfig in
|
||||
yes)
|
||||
LIBS="$LIBS $libs"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue