From 27cac8ea5af4342056ad7cece8b6bcad212a0755 Mon Sep 17 00:00:00 2001 From: joe miller Date: Fri, 14 Aug 2020 17:07:30 -0700 Subject: [PATCH] remove build dependency on which --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ef66d9c..9494732 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -PKG_CONFIG=$(shell which pkg-config) +PKG_CONFIG=$(shell command -v pkg-config 2> /dev/null) ifeq ($(PKG_CONFIG),) $(error "Install pkg-config to make it work") endif -- 2.34.1