[vlc-devel] [PATCH 10/12] contribs: ffmpeg/libav: Properly pass NM/AR env variables

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Oct 23 12:17:50 CEST 2014


---
 contrib/src/ffmpeg/rules.mak | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 9712478..18ffe02 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -163,6 +163,14 @@ ifeq ($(call need_pkg,"libavcodec >= 54.25.0 libavformat >= 53.21.0 libswscale")
 PKGS_FOUND += ffmpeg
 endif
 
+ifdef NM
+FFMPEGCONF += --nm="$(NM)"
+endif
+
+ifdef AR
+FFMPEGCONF += --ar="$(AR)"
+endif
+
 $(TARBALLS)/ffmpeg-$(HASH).tar.gz:
 	$(call download,$(FFMPEG_SNAPURL))
 
-- 
2.1.1




More information about the vlc-devel mailing list