mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -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
|
||||
else
|
||||
LDLIBS_dtc += $(shell $(PKG_CONFIG) --libs yaml-0.1)
|
||||
CFLAGS += $(shell $(PKG_CONFIG) --cflags yaml-0.1)
|
||||
endif
|
||||
|
||||
ifeq ($(HOSTOS),darwin)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue