Skip to content

Commit

Permalink
grpc: point to the native protobuf compiler binary
Browse files Browse the repository at this point in the history
Latest version of grpc fails to build nativesdk variant since it finds
and tries to execute protoc binary from nativesdk-protobuf instead of
protobuf-native. Shortcut the detection logic by pointing to the correct
version of protoc binary in native sysroot.

Signed-off-by: Denys Dmytriyenko <[email protected]>
Signed-off-by: Denys Dmytriyenko <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
denix0 authored and kraj committed Jun 9, 2023
1 parent 93a42f1 commit 54885a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meta-oe/recipes-devtools/grpc/grpc_1.50.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ EXTRA_OECMAKE = " \
-DgRPC_ZLIB_PROVIDER=package \
-DgRPC_SSL_PROVIDER=package \
-DgRPC_PROTOBUF_PROVIDER=package \
-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/protoc \
-DgRPC_ABSL_PROVIDER=package \
-DgRPC_RE2_PROVIDER=package \
-DgRPC_INSTALL=ON \
Expand Down

0 comments on commit 54885a5

Please sign in to comment.