diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2020-08-25 12:34:18 +0200 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2020-08-25 12:34:18 +0200 |
commit | ca19c3db2bf62000101ae8f83c37cd6e0d44d218 (patch) | |
tree | aa8f0c3c8c4ac1986056b4f3440eb537fd4bd09f | |
parent | 7bb86f1c09563f502c6ab0166feacf346e4e8c40 (diff) | |
download | dtc-ca19c3db2bf62000101ae8f83c37cd6e0d44d218.zip dtc-ca19c3db2bf62000101ae8f83c37cd6e0d44d218.tar.gz dtc-ca19c3db2bf62000101ae8f83c37cd6e0d44d218.tar.bz2 |
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>
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |