[issue37839] makesetup Doesn't Handle Defines with Equal Sign
John Muth
report at bugs.python.org
Thu Oct 17 14:32:23 EDT 2019
John Muth <muth at kontain.app> added the comment:
I ran into the same issue. This patch fixed it for me.
diff --git a/Modules/makesetup b/Modules/makesetup
index eac97ad134..0fbac03833 100755
--- a/Modules/makesetup
+++ b/Modules/makesetup
@@ -133,6 +133,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
# Output DEFS in reverse order so first definition overrides
case $line in
+ *-D*) ;;
*=*) DEFS="$line$NL$DEFS"; continue;;
'include '*) DEFS="$line$NL$DEFS"; continue;;
'*noobjects*')
----------
nosy: +John Muth
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37839>
_______________________________________
More information about the Python-bugs-list
mailing list