Verify that pkg-config is available

Fixes #32
This commit is contained in:
Tor Arne Vestbø
2021-06-26 16:41:40 +02:00
parent c899404e30
commit b8993dc56f

View File

@@ -122,6 +122,8 @@ SRC_DIR=$(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
vpath %.cpp $(SRC_DIR)
PKG_CONFIG = pkg-config
$(call ensure_binary,$(PKG_CONFIG))
override CFLAGS += -std=c++11 -Wall -pedantic -O2 -g
GCC_4_2_OR_HIGHER := $(shell expr `$(CXX) -dumpversion | sed 's/\.//g'` \>= 420)