From 53ec87b41642378517ff7b86466d169a8d73ad85 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sat, 17 Aug 2024 05:40:03 +0300 Subject: [PATCH] Issue #264: Properly checking of pkg-config --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5fee0281..c83aec37 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,8 @@ _LINTERS_IMAGE ?= ustreamer-linters # ===== -ifeq (, $(shell which pkg-config)) - $(error "No pkg-config found in $(PATH)") +ifeq (__not_found__,$(shell which pkg-config 2>/dev/null || echo "__not_found__")) +$(error "No pkg-config found in $(PATH)") endif