Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.6] bpo-35257: fix broken BLDSHARED - needs LDFLAGS too (GH-11297) #11299

Merged
merged 1 commit into from Dec 23, 2018

Conversation

@miss-islington
Copy link

miss-islington commented Dec 23, 2018

BLDSHARED needs to have both LDFLAGS and LDFLAGS_NODIST, not just LDFLAGS_NODIST; PY_CORE_LDFLAGS provides both. For example, as it stands now with just LDFLAGS_NODIST, macOS universal builds are broken as the necessary -arch flags are no longer passed to the standard library extension module link step from setup.py resulting in extension modules being single architecture only.

https://bugs.python.org/issue35257
(cherry picked from commit 44a3ee0)

Co-authored-by: Ned Deily nad@python.org

https://bugs.python.org/issue35257

`BLDSHARED` needs to have both `LDFLAGS` and `LDFLAGS_NODIST`, not just `LDFLAGS_NODIST`; `PY_CORE_LDFLAGS` provides both.  For example, as it stands now with just `LDFLAGS_NODIST`, macOS universal builds are broken as the necessary `-arch` flags are no longer passed to the standard library extension module link step from `setup.py` resulting in extension modules being single architecture only.

https://bugs.python.org/issue35257
(cherry picked from commit 44a3ee0)

Co-authored-by: Ned Deily <nad@python.org>
@miss-islington

This comment has been minimized.

Copy link
Author

miss-islington commented Dec 23, 2018

@ned-deily: Status check is done, and it's a success .

@miss-islington

This comment has been minimized.

Copy link
Author

miss-islington commented Dec 23, 2018

Sorry, I can't merge this PR. Reason: You're not authorized to push to this branch. Visit https://help.github.com/articles/about-protected-branches/ for more information..

@ned-deily ned-deily merged commit 68f5dfd into python:3.6 Dec 23, 2018
5 checks passed
5 checks passed
bedevere/issue-number Issue number 35257 found
Details
bedevere/maintenance-branch-pr Valid maintenance branch PR title.
bedevere/news "skip news" label found
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@miss-islington miss-islington deleted the miss-islington:backport-44a3ee0-3.6 branch Dec 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.