[FFmpeg-cvslog] configure: Replace -no_weak_symbols with -Werror=partial-availability
Luca Barbato
git at videolan.org
Sat Oct 21 18:51:42 EEST 2017
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Wed Mar 15 00:07:23 2017 +0100| [0d8013b88b1cb7d65da891a8819d3beebafb9bb5] | committer: Luca Barbato
configure: Replace -no_weak_symbols with -Werror=partial-availability
Jack uses weak symbols on purpose.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0d8013b88b1cb7d65da891a8819d3beebafb9bb5
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index f915871b5c..665df27621 100755
--- a/configure
+++ b/configure
@@ -3948,7 +3948,7 @@ case $target_os in
SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR)'
enabled x86_32 && append SHFLAGS -Wl,-read_only_relocs,suppress
add_ldflags -Wl,-dynamic,-search_paths_first
- check_ldflags -Wl,-no_weak_imports
+ check_cflags -Werror=partial-availability
SLIBSUF=".dylib"
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(NAME).$(LIBVERSION)$(SLIBSUF)'
SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME).$(LIBMAJOR)$(SLIBSUF)'
More information about the ffmpeg-cvslog
mailing list