[vlc-devel] [PATCH 5/7] contrib: ffmpeg: also pass ranlib to configure

Alexandre Janniaux ajanni at videolabs.io
Fri Apr 24 17:02:03 CEST 2020


This is particularily needed when ar and $(HOST)-ar are not producing
the same type of archive, like linux -> iOS cross compilation.
---
 contrib/src/ffmpeg/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index d78b93ecb6..187d513aa1 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -222,7 +222,7 @@ ifeq ($(call need_pkg,"libavcodec >= $(FFMPEG_LAVC_MIN) libavformat >= 53.21.0 l
 PKGS_FOUND += ffmpeg
 endif
 
-FFMPEGCONF += --nm="$(NM)" --ar="$(AR)"
+FFMPEGCONF += --nm="$(NM)" --ar="$(AR)" --ranlib="$(RANLIB)"
 
 $(TARBALLS)/ffmpeg-$(FFMPEG_BASENAME).tar.xz:
 	$(call download_git,$(FFMPEG_GITURL),,$(FFMPEG_HASH))
-- 
2.26.1



More information about the vlc-devel mailing list