commit:     19ab8f908103d9ca3bfd69b9eb7ea017e1c599e0
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 13 08:15:45 2022 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Jan 13 08:15:45 2022 +0000
URL:        https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=19ab8f90

cross-pkg-config: drop old version check

pkg-config-0.24 was released over a decade ago.  We can stop checking
for it now.

Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 wrappers/cross-pkg-config | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/wrappers/cross-pkg-config b/wrappers/cross-pkg-config
index d569bb9..d51edd2 100755
--- a/wrappers/cross-pkg-config
+++ b/wrappers/cross-pkg-config
@@ -23,10 +23,6 @@ error() {
 #
 # Sanity/distro checks
 #
-MIN_VER="0.24" # needs working PKG_CONFIG_SYSROOT_DIR
-if ! pkg-config --atleast-pkgconfig-version ${MIN_VER} ; then
-       error pkg-config is too old ... upgrade to at least v${MIN_VER}
-fi
 
 if [ "$1" = "--cross-pkg-config-install" ] ; then
        # --cross-pkg-config-install <sysroot dir> [pkg-config wrapper]

Reply via email to