Yocto Project Discussions
 help / color / mirror / Atom feed
From: "Sinan Kaya" <okaya@kernel.org>
To: yocto@lists.yoctoproject.org
Cc: jpewhacker@gmail.com, Sinan Kaya <okaya@kernel.org>
Subject: [meta-mingw] [PATCH v3 2/5] protobuf-c: static link when generating sdk
Date: Tue, 17 Aug 2021 15:09:54 +0000	[thread overview]
Message-ID: <20210817150957.18246-2-okaya@kernel.org> (raw)
In-Reply-To: <20210817150957.18246-1-okaya@kernel.org>

[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>
---
 recipes-devtools/protobuf-c/protobuf-c_%.bbappend | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 recipes-devtools/protobuf-c/protobuf-c_%.bbappend

diff --git a/recipes-devtools/protobuf-c/protobuf-c_%.bbappend b/recipes-devtools/protobuf-c/protobuf-c_%.bbappend
new file mode 100644
index 0000000..b53b22d
--- /dev/null
+++ b/recipes-devtools/protobuf-c/protobuf-c_%.bbappend
@@ -0,0 +1 @@
+EXTRA_OECONF:append:sdkmingw32 = " --disable-shared"
-- 
2.17.1


  reply	other threads:[~2021-08-17 15:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17 15:09 [meta-mingw] [PATCH v3 1/5] protobuf: static link tools when generating sdk Sinan Kaya
2021-08-17 15:09 ` Sinan Kaya [this message]
2021-08-17 15:09 ` [meta-mingw] [PATCH v3 3/5] grpc: static link tools when generating SDK Sinan Kaya
2021-08-17 15:09 ` [meta-mingw] [PATCH v3 4/5] abseil-cpp: disable shared build as it is broken Sinan Kaya
2021-08-17 15:09 ` [meta-mingw] [PATCH v3 5/5] conf/layer.conf: use BBFILES_DYNAMIC for dynamic layers Sinan Kaya
2021-08-17 16:01 ` [meta-mingw] [PATCH v3 1/5] protobuf: static link tools when generating sdk Joshua Watt
2021-08-17 16:29   ` Sinan Kaya
2021-08-17 18:10     ` Joshua Watt
2021-08-17 18:15       ` Sinan Kaya
2021-08-17 18:19         ` Joshua Watt
2021-08-17 18:38           ` Sinan Kaya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210817150957.18246-2-okaya@kernel.org \
    --to=okaya@kernel.org \
    --cc=jpewhacker@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox