diff --git a/contrib/src/main.mak b/contrib/src/main.mak index ee72346173e4ab0f17c08f025900c0348a952b37..80d82691d87a9438e59677f2af17570fcbe20017 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 #