Skip to content

Conversation

@7phs
Copy link

@7phs 7phs commented Feb 2, 2025

This PR fixes compilation errors when building ffmpeg (Zig) on MacOS 15.2 (M1, aarch64).

Fixes:

  1. Error 1 OS_CODE macro redefined – resolved by updating zlib to the latest version.
  2. Error 2 sys/prctl.h not found and _DARWIN_C_SOURCE macro redefined – fixed by conditionally disabling prctl for MacOS.

There are still some linker issues. I think it would be best to address them in a separate PR or issue.

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