From ca19c3db2bf62000101ae8f83c37cd6e0d44d218 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Tue, 25 Aug 2020 12:34:18 +0200 Subject: [PATCH] Makefile: Specify cflags for libyaml Some systems don't install third party software includes in a default path (like FreeBSD), add yaml cflags to fix compilation. Signed-off-by: Emmanuel Vadot --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index cb256e8..c187d5f 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,7 @@ ifeq ($(NO_YAML),1) CFLAGS += -DNO_YAML else LDLIBS_dtc += $(shell $(PKG_CONFIG) --libs yaml-0.1) + CFLAGS += $(shell $(PKG_CONFIG) --cflags yaml-0.1) endif ifeq ($(HOSTOS),darwin)