Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington 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 [email protected]

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 <[email protected]>
@miss-islington
Copy link
Contributor Author

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

@miss-islington miss-islington merged commit 3d4b4b8 into python:3.7 Dec 23, 2018
@miss-islington miss-islington deleted the backport-44a3ee0-3.7 branch December 23, 2018 20:48
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.

4 participants