Message ID | 20220827095328.4066280-1-uvv.mail@gmail.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-oe,v3] protobuf: disable protoc binary for target | expand |
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 83dabc9f8..0d8648e2f 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 \