Merge commit '0d8013b88b1cb7d65da891a8819d3beebafb9bb5'
[ffmpeg.git] / configure
index 36279d5..4f3355c 100755 (executable)
--- a/configure
+++ b/configure
@@ -5039,7 +5039,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_ldflags -Wl,-no_weak_imports
+        check_cflags -Werror=partial-availability
         SLIBSUF=".dylib"
         SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME).$(LIBVERSION)$(SLIBSUF)'
         SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME).$(LIBMAJOR)$(SLIBSUF)'