From ac6d01f605c589b4ebf19afdbd194d74edebc1c6 Mon Sep 17 00:00:00 2001 From: Tristan Charbonneau Date: Wed, 31 Jul 2024 17:39:34 +0200 Subject: [PATCH] fix(configure): use of $PKG_CONFIG instead of direct calls to pkg_config --- open-vm-tools/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac index 26b2e9500..8eabe4802 100644 --- a/open-vm-tools/configure.ac +++ b/open-vm-tools/configure.ac @@ -884,7 +884,7 @@ if test "$enable_vgauth" = "yes" ; then [], [xmlsec/xmlsec.h], [xmlSecCheckVersionExt], - [XMLSEC1_VER=`pkg-config --modversion xmlsec1` + [XMLSEC1_VER=`$PKG_CONFIG --modversion xmlsec1` xmlsec1_major_version="`echo $XMLSEC1_VER | cut -f1 -d. | cut -f1 -d-`" xmlsec1_minor_version="`echo $XMLSEC1_VER | cut -f2 -d. | cut -f1 -d-`" xmlsec1_micro_version="`echo $XMLSEC1_VER | cut -f3 -d. | cut -f1 -d-`"