Visitar URL original
Add support for native libraries that are installed but not on path by apparebit · Pull Request #50 · python/pyperformance · GitHub
The Wayback Machine - https://web.archive.org/web/20250303192238/https://github.com/python/pyperformance/pull/50
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

Add support for native libraries that are installed but not on path #50

Merged
merged 2 commits into from
Apr 17, 2019

Conversation

apparebit
Copy link
Contributor

At least on macOS, installing up-to-date versions of several libraries
via a third party package manager such as Homebrew may interfere with
the rather old and tired version shipped with macOS. Consequently,
Homebrew does not add these libraries to the include and linker paths.
This change adds a configuration option to derive the correct arguments
for CPython's configure script. Adding support for other package
managers and operating systems should be trivial, since only two lines
are macOS-specific.

At least on macOS, installing up-to-date versions of several libraries
via a third party package manager such as Homebrew may interfere with
the rather old and tired version shipped with macOS. Consequently,
Homebrew does not add these libraries to the include and linker paths.
This change adds a configuration option to derive the correct arguments
for CPython's configure script. Adding support for other package
managers and operating systems should be trivial, since only two lines
are macOS-specific.
Leave actual value blank, so that the example, if directly reused,
does not break build for Linux and Windows. Also document actual,
working value for macOS.
@DinoV DinoV merged commit 2a9524c into python:master Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants