Issue #264: Properly checking of pkg-config

This commit is contained in:
Maxim Devaev 2024-08-17 05:40:03 +03:00
parent de8cb85605
commit 53ec87b416

View File

@ -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