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) @@ -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)

Loading…
Cancel
Save