[3.7] bpo-32232: by default, Setup modules are no longer built with -DPy_BUILD_CORE (GH-6489) by miss-islington · Pull Request #6547 · python/cpython

@xdegaye @miss-islington

…ILD_CORE (pythonGH-6489)

Setup modules are no longer built with -DPy_BUILD_CORE by default,
as using that flag may now require including additional internal-only header files.

Instead, only the modules that specifically need it use that setting.
(cherry picked from commit 063db62)

Co-authored-by: xdegaye <xdegaye@gmail.com>

ncoghlan