From 83c6dfcce6c334d9e699858614e902f2a5a41e20 Mon Sep 17 00:00:00 2001 From: Peter Marko Date: Sat, 8 Feb 2025 16:03:05 +0100 Subject: grpc: remove unneeded dependencies googletest is needed only if we would build tests, and then it should be conditional on PTEST_ENABLED libnsl is not needed. there is no linking command in any cmake. The only grep hit is in cares.cmake to disable it. Commit 2ffc7b45d638a89535b963533d39b8b13e4c8c1e which added it talks about host distros, but also such case would be wrong when adding it to general depends (should be in native only depends) and it would have to have be reference in cmake (in grpc or in one of recipe-sysroot). Also sort the dependencies in the process. Signed-off-by: Peter Marko Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/grpc/grpc_1.68.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-oe/recipes-devtools') diff --git a/meta-oe/recipes-devtools/grpc/grpc_1.68.0.bb b/meta-oe/recipes-devtools/grpc/grpc_1.68.0.bb index caf355bb52..b82b802e3c 100644 --- a/meta-oe/recipes-devtools/grpc/grpc_1.68.0.bb +++ b/meta-oe/recipes-devtools/grpc/grpc_1.68.0.bb @@ -6,8 +6,8 @@ SECTION = "libs" LICENSE = "Apache-2.0 & BSD-3-Clause & MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906" -DEPENDS = "c-ares protobuf protobuf-native openssl libnsl2 abseil-cpp re2 zlib" -DEPENDS:append:class-target = " googletest grpc-native " +DEPENDS = "abseil-cpp c-ares openssl protobuf protobuf-native re2 zlib" +DEPENDS:append:class-target = " grpc-native" DEPENDS:append:class-nativesdk = " grpc-native " PACKAGE_BEFORE_PN = "${PN}-compiler" -- cgit v1.2.3-54-g00ecf