Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Fix macOS Python 3.5 & 3.7 build #24

Merged
merged 1 commit into from
May 8, 2020

Conversation

paulproteus
Copy link
Contributor

@paulproteus paulproteus commented May 7, 2020

The GitHub Actions macOS Python 3.5 and Python 3.7 distributions provide a python-config whose --ldflags doesn't print the required -L parameter for the compiler to find libpython. This works around that.

It also adds printouts of python-config --ldflags and python-config --cflags in GitHub Actions for easier debugging.

@paulproteus paulproteus force-pushed the fix-macos-builder branch 2 times, most recently from aaa2f68 to f8b183b Compare May 7, 2020 22:36
@paulproteus paulproteus changed the title Fix macOS Python 3.5 build Fix macOS Python 3.5 & 3.7 build May 7, 2020
The GitHub Actions macOS Python 3.5 and Python 3.7 distributions
provide a python-config whose --ldflags doesn't print the required
`-L` parameter for the compiler to find libpython. This works
around that.
@paulproteus paulproteus marked this pull request as ready for review May 7, 2020 22:59
Copy link
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

@freakboy3742 freakboy3742 merged commit eeaefa7 into beeware:master May 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants