Browse Source

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 <manu@FreeBSD.org>
main
Emmanuel Vadot 4 years ago
parent
commit
ca19c3db2b
  1. 1
      Makefile

1
Makefile

@ -59,6 +59,7 @@ ifeq ($(NO_YAML),1)
CFLAGS += -DNO_YAML CFLAGS += -DNO_YAML
else else
LDLIBS_dtc += $(shell $(PKG_CONFIG) --libs yaml-0.1) LDLIBS_dtc += $(shell $(PKG_CONFIG) --libs yaml-0.1)
CFLAGS += $(shell $(PKG_CONFIG) --cflags yaml-0.1)
endif endif


ifeq ($(HOSTOS),darwin) ifeq ($(HOSTOS),darwin)

Loading…
Cancel
Save