[vlc-commits] contrib: ffmpeg: also pass ranlib to configure

Alexandre Janniaux git at videolan.org
Sun May 3 01:05:14 CEST 2020


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Fri Apr 24 17:02:03 2020 +0200| [b0583e76fd3fec8d0b57b1b2581ab28b9c35ae17] | committer: Alexandre Janniaux

contrib: ffmpeg: also pass ranlib to configure

This is particularily needed when ar and $(HOST)-ar are not producing
the same type of archive, like linux -> iOS cross compilation.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b0583e76fd3fec8d0b57b1b2581ab28b9c35ae17
---

 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))



More information about the vlc-commits mailing list