mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-12 02:23:43 +00:00
check for pkg-config
This commit is contained in:
6
Makefile
6
Makefile
@@ -16,6 +16,12 @@ export
|
|||||||
_LINTERS_IMAGE ?= ustreamer-linters
|
_LINTERS_IMAGE ?= ustreamer-linters
|
||||||
|
|
||||||
|
|
||||||
|
# =====
|
||||||
|
ifeq (, $(shell which pkg-config))
|
||||||
|
$(error "No pkg-config found in $(PATH)")
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
# =====
|
# =====
|
||||||
define optbool
|
define optbool
|
||||||
$(filter $(shell echo $(1) | tr A-Z a-z), yes on 1)
|
$(filter $(shell echo $(1) | tr A-Z a-z), yes on 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user