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

Fix IGraphics build of freetype on Mac OS Monterey #930

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krig
Copy link
Contributor

@krig krig commented Feb 21, 2023

When building freetype, the configure script was unable to find the stdlib headers (stdio.h, string.h) and the build fails.

To resolve this, it is necessary to set the CPATH env variable to the correct location for the standard headers.

When building freetype, the configure script was unable
to find the stdlib headers (stdio.h, string.h) and the
build fails.

To resolve this, it is necessary to set the CPATH env
variable to the correct location for the standard headers.
@olilarkin
Copy link
Member

Thanks for the PR. I can compile a universal libfreetype.a on macOS Ventura on an intel machine but it fails on if I try and build it on apple silicon (#933). I tried this change but it didn't seem to make a difference. will leave this open for now

@krig
Copy link
Contributor Author

krig commented Feb 26, 2023

I am on apple silicon as well. There are other problems that prevent it from building on apple silicon, but this was one of the fixes that I did that was simple enough to PR. I had do so some major surgery to remove some x86 cross-compilation to get things to build entirely, unfortunately.

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.

None yet

2 participants