Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix freetype include path lookup -- don't use freetype-config since it
seems to be broken. Use that only for version determination. Warn if pkg-config is not present.
- Loading branch information
Showing
1 changed file
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
8915c96
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You seem to have broken FreeType again with this change. See this commit: #3067
The latest matplotlib looks for
ft2build.h
in.../include/
folders, but has to search in.../include/freetype2/
.The things are broken only for FreeType2 and only in case there is no installed
pkg-config
. This thing is broken for me on Ubuntu and OS X.8915c96
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going forward pkg-config is required to build matplotlib, this was added to the docs in #4463 but has not made it into a built version of the docs yet.