From df7e00a47ebf34dd7c01d02de1af0f189a12bc13 Mon Sep 17 00:00:00 2001
From: Eloi BAIL <eloi.bail@savoirfairelinux.com>
Date: Wed, 25 Mar 2015 18:06:36 -0400
Subject: [PATCH] daemon: fix libav contrib options order

Refs #69370

Change-Id: I8ed18af7baa4869f0c4c5f55cbb975c75dc3327e
---
 contrib/src/libav/rules.mak | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/contrib/src/libav/rules.mak b/contrib/src/libav/rules.mak
index a77625b141..f010f45532 100644
--- a/contrib/src/libav/rules.mak
+++ b/contrib/src/libav/rules.mak
@@ -4,7 +4,12 @@ LIBAV_GITURL := git://git.libav.org/libav.git
 
 PKGS += libav
 
+#disable everything
+#ensure to add this option first
 LIBAVCONF = \
+		--disable-everything
+
+LIBAVCONF += \
 		--cc="$(CC)" \
 		--pkg-config="$(PKG_CONFIG)" \
 		--enable-zlib \
@@ -12,9 +17,6 @@ LIBAVCONF = \
 		--enable-swscale \
 		--enable-protocols
 
-#disable everything
-LIBAVCONF += \
-		--disable-everything
 
 #enable muxers/demuxers
 LIBAVCONF += \
-- 
GitLab