FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Enable `pkg-config`-driven pycairo cflags by jwilges · Pull Request #235 · mapnik/python-mapnik · GitHub

Enable pkg-config-driven pycairo cflags - #235

Open
jwilges wants to merge 1 commit into
mapnik:masterfrom
jwilges:jwilges-libcairo-flag-fix
Open

Enable pkg-config-driven pycairo cflags#235
jwilges wants to merge 1 commit into
mapnik:masterfrom
jwilges:jwilges-libcairo-flag-fix

Conversation

jwilges commented Nov 13, 2020

Copy link
Copy Markdown

Allow pkg-config to detect flags for either:

  • py3cairo, or
  • pycairo

The previous method of always using sys.exec_prefix to locate pycairo
headers is insufficient on systems where Python and pycairo have
different install prefixes (e.g. /usr vs. /usr/local).

For backward compatibility, the previous method is still the default
behavior when pkg-config cannot detect appropriate flags at runtime.

Resolves issue #234

Allow pkg-config to detect flags for either:
- `py3cairo`, or
- `pycairo`

The previous method of always using `sys.exec_prefix` to locate pycairo
headers is insufficient on systems where Python and pycairo have
different install prefixes (e.g. `/usr` vs. `/usr/local`).

For backward compatibility, the previous method is still the default
behavior when `pkg-config` cannot detect appropriate flags at runtime.

Resolves issue mapnik#234
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL