Makefile: check for existence of pkg-config

This commit is contained in:
Robert Swiecki 2018-02-13 17:12:55 +01:00
parent eb179f1934
commit fae9ce5d63

View File

@ -16,6 +16,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
PKG_CONFIG=$(shell which pkg-config)
ifeq ($(PKG_CONFIG),)
$(error "Install pkg-config to make it work")
endif
CC ?= gcc
CXX ?= g++