From: Daniel Golle Date: Thu, 14 Jun 2018 18:09:29 +0000 (+0200) Subject: libjson-c: add host build (for libblobmsg-json) X-Git-Tag: v18.06.2~386 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=da9fe5af199f05aeafd63a264a8938e3fff1a1a6;p=oweals%2Fopenwrt.git libjson-c: add host build (for libblobmsg-json) Signed-off-by: Daniel Golle (cherry picked from commit 6fc8e06078d30e8d36a00d0ecc97ac9cc148fe60) --- diff --git a/package/libs/libjson-c/Makefile b/package/libs/libjson-c/Makefile index eeb7870f07..60b51146af 100644 --- a/package/libs/libjson-c/Makefile +++ b/package/libs/libjson-c/Makefile @@ -27,6 +27,7 @@ PKG_INSTALL:=1 PKG_MAINTAINER:=Felix Fietkau include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/host-build.mk TARGET_CFLAGS += $(FPIC) -Wno-implicit-fallthrough @@ -56,3 +57,4 @@ define Package/libjson-c/install endef $(eval $(call BuildPackage,libjson-c)) +$(eval $(call HostBuild))