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 88bef2c06d..0bc9cbedc0 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf_3.21.5.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.21.5.bb @@ -25,7 +25,9 @@ S = "${WORKDIR}/git" inherit cmake pkgconfig ptest PACKAGECONFIG ??= "" +PACKAGECONFIG:class-native ?= "compiler" PACKAGECONFIG[python] = ",," +PACKAGECONFIG[compiler] = "-Dprotobuf_BUILD_PROTOC_BINARIES=ON,-Dprotobuf_BUILD_PROTOC_BINARIES=OFF" EXTRA_OECMAKE += "\ -Dprotobuf_BUILD_SHARED_LIBS=ON \