libjson-c: add host build (for libblobmsg-json)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 6fc8e06078)
This commit is contained in:
Daniel Golle 2018-06-14 20:09:29 +02:00 committed by Matthias Schiffer
parent 6a4f059ec8
commit da9fe5af19
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -27,6 +27,7 @@ PKG_INSTALL:=1
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
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))