summaryrefslogtreecommitdiff
path: root/multitech/recipes/protobuf/protobuf.inc
diff options
context:
space:
mode:
Diffstat (limited to 'multitech/recipes/protobuf/protobuf.inc')
-rw-r--r--multitech/recipes/protobuf/protobuf.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/multitech/recipes/protobuf/protobuf.inc b/multitech/recipes/protobuf/protobuf.inc
index 0869a14..23d1677 100644
--- a/multitech/recipes/protobuf/protobuf.inc
+++ b/multitech/recipes/protobuf/protobuf.inc
@@ -2,7 +2,16 @@ DESCRIPTION = "Google Protocol Buffers"
HOMEPAGE = "http://www.google.com/"
PRIORITY = "optional"
LICENSE = "BSD"
+INC_PR = "r0"
+BBCLASSEXTEND = "native"
+
+DEPENDS = "protobuf-native"
+DEPENDS_virtclass-native = ""
SRC_URI = "http://protobuf.googlecode.com/files/protobuf-${PV}.tar.bz2;name=tarball"
inherit autotools
+
+# use native protoc for running unit tests
+EXTRA_OECONF = " --with-protoc=${STAGING_BINDIR_NATIVE}/protoc"
+EXTRA_OECONF_virtclass-native = ""