Skip to content

bpo-34212: Adds -DPy_BUILD_CORE_BUILTIN for modules statically linked into libpython#8446

Closed
embray wants to merge 1 commit intopython:masterfrom
embray:cygwin/builtin-module-linkage
Closed

bpo-34212: Adds -DPy_BUILD_CORE_BUILTIN for modules statically linked into libpython#8446
embray wants to merge 1 commit intopython:masterfrom
embray:cygwin/builtin-module-linkage

Conversation

@embray
Copy link
Copy Markdown
Contributor

@embray embray commented Jul 24, 2018

I'm not happy with this solution since the -DPy_BUILD_CORE_BUILTIN is required for every module built into libpython that doesn't already define -DPy_BUILD_CORE. So perhaps this should be done automatically, such as by Modules/makesetup, though I'm mildly afraid to touch that...

This along with #8445 are the minimal needed for Python 3.7+ to build on Cygwin again.

https://bugs.python.org/issue34212

@embray
Copy link
Copy Markdown
Contributor Author

embray commented Aug 9, 2018

I spent enough time understanding the makesetup script to come up with what I think is a cleaner, and still correct solution: #8712.

@embray embray closed this Aug 9, 2018
@embray embray deleted the cygwin/builtin-module-linkage branch August 9, 2018 13:40
tiran added a commit to tiran/cpython that referenced this pull request May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants