summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSinan Kaya <okaya@kernel.org>2021-08-17 15:09:55 +0000
committerJoshua Watt <JPEWhacker@gmail.com>2021-08-17 10:59:32 -0500
commit53eb8fd7b453855a1d6a76eaa73c30b4562defc8 (patch)
treeb5f7285a5326d4a50942c627891ef387266a8a68
parent649fc72aa25d5ab7d49d2c8c1518e8725cf63410 (diff)
downloadmeta-mingw-53eb8fd7b453855a1d6a76eaa73c30b4562defc8.tar.gz
grpc: static link tools when generating SDK
[libprotobuf ERROR google/protobuf/descriptor_database.cc:641] File already exists in database: google/protobuf/descriptor.proto [libprotobuf FATAL google/protobuf/descriptor.cc:1371] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): Switch to static linkage per upstream recommendation. Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
-rw-r--r--dynamic-layers/openembedded-layers/recipes-devtools/grpc/grpc_%.bbappend2
1 files changed, 2 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layers/recipes-devtools/grpc/grpc_%.bbappend b/dynamic-layers/openembedded-layers/recipes-devtools/grpc/grpc_%.bbappend
new file mode 100644
index 0000000..a72496d
--- /dev/null
+++ b/dynamic-layers/openembedded-layers/recipes-devtools/grpc/grpc_%.bbappend
@@ -0,0 +1,2 @@
1EXTRA_OECMAKE:remove:mingw32 = "-DBUILD_SHARED_LIBS=ON"
2EXTRA_OECMAKE:append:mingw32 = " -DBUILD_SHARED_LIBS=OFF"