From 305127290c1cd82ad3902d177bc22db1c452af6c Mon Sep 17 00:00:00 2001 From: Sinan Kaya Date: Tue, 17 Aug 2021 15:09:53 +0000 Subject: protobuf: static link tools when generating sdk Dynamically linked protoc.exe is failing as follows: [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 Signed-off-by: Joshua Watt --- .../openembedded-layers/recipes-devtools/protobuf/protobuf_%.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644 dynamic-layers/openembedded-layers/recipes-devtools/protobuf/protobuf_%.bbappend diff --git a/dynamic-layers/openembedded-layers/recipes-devtools/protobuf/protobuf_%.bbappend b/dynamic-layers/openembedded-layers/recipes-devtools/protobuf/protobuf_%.bbappend new file mode 100644 index 0000000..d350e38 --- /dev/null +++ b/dynamic-layers/openembedded-layers/recipes-devtools/protobuf/protobuf_%.bbappend @@ -0,0 +1 @@ +EXTRA_OECONF:append:mingw32 = " --disable-shared" -- cgit v1.2.3-54-g00ecf