[vlc-commits] contrib: Allow a minimum version to be required

Hugo Beauzée-Luyssen git at videolan.org
Wed Mar 14 09:54:42 CET 2018


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Mar 13 18:15:59 2018 +0100| [31018887c01c7c91b00d78cc27f08e8c5f0b70cb] | committer: Hugo Beauzée-Luyssen

contrib: Allow a minimum version to be required

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

 contrib/src/main.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index ee72346173..80d82691d8 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -51,7 +51,7 @@ endif
 ifdef HAVE_CROSS_COMPILE
 need_pkg = 1
 else
-need_pkg = $(shell $(PKG_CONFIG) $(1) || echo 1)
+need_pkg = $(shell $(PKG_CONFIG) $(1) $(if $(2), --atleast-version=$(2),) || echo 1)
 endif
 
 #



More information about the vlc-commits mailing list