diff options
author | Martin Storsjö <[email protected]> | 2025-09-15 14:16:31 +0300 |
---|---|---|
committer | Martin Storsjö <[email protected]> | 2025-09-15 14:17:52 +0300 |
commit | 424d844534756c4c497675798412f73973ba9819 (patch) | |
tree | ec30e78240adc1cc2d2a499e4cf9cc1568a77bbe | |
parent | 16b8a7805b3c3895e53be5dd976f7649d0a86993 (diff) |
configure: Make -Werror=partial-availability apply to all languages
This was missed in 0ce413af9cc8040095a6b714600d6a8dceaca514.
This fixes proper detection of Objective C APIs (that are missing)
if targeting older macOS versions, such as the check for
AVCaptureSession.
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5957,7 +5957,7 @@ case $target_os in enabled x86_32 && append SHFLAGS -Wl,-read_only_relocs,suppress strip="${strip} -x" add_ldflags -Wl,-dynamic,-search_paths_first - check_cflags -Werror=partial-availability + check_allcflags -Werror=partial-availability SLIBSUF=".dylib" SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME).$(LIBVERSION)$(SLIBSUF)' SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME).$(LIBMAJOR)$(SLIBSUF)' |