Merge commit '81bffae368f331b6cd386a814f225a58e3f32f40'
[ffmpeg.git] / configure
index 6e7faf55b6877b56a49513e81d28e68248fcbddc..62c185586dca31b10600d34e9cd7f9fb3d40a497 100755 (executable)
--- a/configure
+++ b/configure
@@ -5032,6 +5032,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
         SLIBSUF=".dylib"
         SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME).$(LIBVERSION)$(SLIBSUF)'
         SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME).$(LIBMAJOR)$(SLIBSUF)'