Signed-off-by: Helmut Schaa <helmut.sc...@googlemail.com>
---

Changes in v2:
Depend upon protobuf/host

 libs/protobuf-c/Makefile |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libs/protobuf-c/Makefile b/libs/protobuf-c/Makefile
index fd1e4f6..7a3c5d6 100644
--- a/libs/protobuf-c/Makefile
+++ b/libs/protobuf-c/Makefile
@@ -15,9 +15,12 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://protobuf-c.googlecode.com/files
 PKG_MD5SUM:=73ff0c8df50d2eee75269ad8f8c07dc8
 
+PKG_BUILD_DEPENDS:=protobuf/host
+
 PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/host-build.mk
 
 define Package/libprotobuf-c
   TITLE:=Protocol Buffers library
@@ -55,3 +58,5 @@ define Package/libprotobuf-c/install
 endef
 
 $(eval $(call BuildPackage,libprotobuf-c))
+$(eval $(call HostBuild))
+
-- 
1.7.10.4

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to