mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-14 00:37:41 -04:00
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>
This commit is contained in:
parent
7bb86f1c09
commit
ca19c3db2b
1 changed files with 1 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue