[PATCH] protobuf: Enable protoc binary in nativesdk


Khem Raj
 

When it was disabled for target, it was enabled for native but not for
nativesdk explicitly, lets do it here.

Signed-off-by: Khem Raj <raj.khem@...>
---
meta-oe/recipes-devtools/protobuf/protobuf_3.21.5.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.21.5.bb b/meta-oe/recipes-devtools/protobuf/protobuf_3.21.5.bb
index 0bc9cbedc0..c8b9158e6c 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_3.21.5.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.21.5.bb
@@ -26,6 +26,7 @@ inherit cmake pkgconfig ptest

PACKAGECONFIG ??= ""
PACKAGECONFIG:class-native ?= "compiler"
+PACKAGECONFIG:class-nativesdk ?= "compiler"
PACKAGECONFIG[python] = ",,"
PACKAGECONFIG[compiler] = "-Dprotobuf_BUILD_PROTOC_BINARIES=ON,-Dprotobuf_BUILD_PROTOC_BINARIES=OFF"

--
2.38.1

Join {openembedded-devel@lists.openembedded.org to automatically receive all group messages.