Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macOS: fix FFMPEG 7.1 host compiler lacks C11 support issue on macOS
FFMPEG 7.1 introduces a new issue where "Host C11" testing fails due due to configure not being able to find system support libraries. A similar/related issue was fixed previously where --extra-cflags and --extra-ldflags needed to be set to point configure to the system includes and libraries. To resolve this, the host-cflags and host-ldflags options must be set to the same values as --extra-cflags and --extra-ldflags. The --host-cppflags and --extra-cxxflags were added for completeness. An additional update included searching the compiler for either Xcode or CommandLineTools as the user may have selected one or the other with xcode-select -s. In either case, the correct path to the respective SDK's is stored in OSX_SDK_ROOT, so use that path vs. the previous hard code.
- Loading branch information