mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
grpc: point to the native protobuf compiler binary
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 <denys@konsulko.com> Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
93a42f19bd
commit
54885a5af2
@@ -37,6 +37,7 @@ EXTRA_OECMAKE = " \
|
|||||||
-DgRPC_ZLIB_PROVIDER=package \
|
-DgRPC_ZLIB_PROVIDER=package \
|
||||||
-DgRPC_SSL_PROVIDER=package \
|
-DgRPC_SSL_PROVIDER=package \
|
||||||
-DgRPC_PROTOBUF_PROVIDER=package \
|
-DgRPC_PROTOBUF_PROVIDER=package \
|
||||||
|
-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/protoc \
|
||||||
-DgRPC_ABSL_PROVIDER=package \
|
-DgRPC_ABSL_PROVIDER=package \
|
||||||
-DgRPC_RE2_PROVIDER=package \
|
-DgRPC_RE2_PROVIDER=package \
|
||||||
-DgRPC_INSTALL=ON \
|
-DgRPC_INSTALL=ON \
|
||||||
|
|||||||
Reference in New Issue
Block a user