From 7dd4e34759e5b3918888bc6b7870177f683bb65e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 21 Mar 2022 20:07:28 -0700 Subject: grpc: Enable cpp plugin for target version too This is needed by packages like sysdig Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/grpc/grpc_1.41.1.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta-oe/recipes-devtools/grpc') diff --git a/meta-oe/recipes-devtools/grpc/grpc_1.41.1.bb b/meta-oe/recipes-devtools/grpc/grpc_1.41.1.bb index 3fe7993107..315d8eb38c 100644 --- a/meta-oe/recipes-devtools/grpc/grpc_1.41.1.bb +++ b/meta-oe/recipes-devtools/grpc/grpc_1.41.1.bb @@ -13,7 +13,7 @@ DEPENDS:append:class-nativesdk = " grpc-native " PACKAGE_BEFORE_PN = "${PN}-compiler" RDEPENDS:${PN}-compiler = "${PN}" -RDEPENDS:${PN}-dev:class_native += "${PN}-compiler" +RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler" # Configuration above allows to cross-compile gRPC applications # In order to compile applications on the target, use the dependency below # Both dependencies are mutually exclusive @@ -45,7 +45,6 @@ EXTRA_OECMAKE = " \ " PACKAGECONFIG ??= "cpp shared" -PACKAGECONFIG_class-target ?= "shared" PACKAGECONFIG[cpp] = "-DgRPC_BUILD_GRPC_CPP_PLUGIN=ON,-DgRPC_BUILD_GRPC_CPP_PLUGIN=OFF" PACKAGECONFIG[csharp] = "-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=ON,-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF" PACKAGECONFIG[node] = "-DgRPC_BUILD_GRPC_NODE_PLUGIN=ON,-DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF" -- cgit v1.2.3-54-g00ecf