check for pkg-config

This commit is contained in:
Maxim Devaev 2024-05-27 00:43:02 +03:00
parent dcddfddf56
commit f2779f7b44

View File

@ -16,6 +16,12 @@ export
_LINTERS_IMAGE ?= ustreamer-linters
# =====
ifeq (, $(shell which pkg-config))
$(error "No pkg-config found in $(PATH)")
endif
# =====
define optbool
$(filter $(shell echo $(1) | tr A-Z a-z), yes on 1)