[issue37839] makesetup Doesn't Handle Defines with Equal Sign

2019-10-29 Thread Jamie Bliss
Jamie Bliss added the comment: Similarly, stumbled across this working on https://github.com/pyz-dispenser/cpython-static This is particularly problematic because of the SQLite module's MODULE_NAME macro. -- nosy: +astronouth7303 ___ Python

[issue37839] makesetup Doesn't Handle Defines with Equal Sign

2019-10-17 Thread John Muth
John Muth 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' |

[issue37839] makesetup Doesn't Handle Defines with Equal Sign

2019-08-13 Thread Will Bond
New submission from Will Bond : Using 3.8.0b3 on macOS. I'm doing a custom compile with (heavy) modifications to Modules/Setup.local. Whenever I add a define rule to a module line that includes an equal sign, e.g.: _sqlite3 -DMODULE_NAME=_sqlite3 _sqlite/module.c _sqlite/cache.c