[vlc-devel] [PATCH 1/2] contrib: Allow a minimum version to be required
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Tue Mar 13 18:17:53 CET 2018
---
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
#
--
2.11.0
More information about the vlc-devel
mailing list