libjson-c: add host build (for libblobmsg-json)
authorDaniel Golle <daniel@makrotopia.org>
Thu, 14 Jun 2018 18:09:29 +0000 (20:09 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 14 Jun 2018 18:09:29 +0000 (20:09 +0200)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/libs/libjson-c/Makefile

index eeb7870f072f054ea1a3a4a14b947ed97f5efa70..60b51146af2c5f518897314f43482e424d004a32 100644 (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))