Skip to content

Fix MacOS Clang 17+ compile issue #23

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

Merged
merged 1 commit into from
Jun 23, 2025

Conversation

andressbarajas
Copy link
Contributor

What this does
This patch fixes build issues on newer macOS systems (like Apple Silicon Macs running Clang 17 or higher). It adds --with-system-zlib which avoids problems with fdopen() in zlib.

Why it's needed
Clang 17+ doesn’t play nice with the bundled zlib—it causes build errors because of a missing fdopen() macro. Using the system zlib fixes that.

Tested on
macOS Sonoma (M4 Mac Mini)

Homebrew + Clang 17+

@fjtrujy fjtrujy merged commit a01971b into ps2dev:main Jun 23, 2025
5 checks passed
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