All of lore.kernel.org
 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 v2 2/3] protobuf-c: static link when generating sdk
Date: Tue, 17 Aug 2021 14:07:41 +0000	[thread overview]
Message-ID: <20210817140742.3110-2-okaya@kernel.org> (raw)
In-Reply-To: <20210817140742.3110-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 14:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17 14:07 [meta-mingw] [PATCH v2 1/3] protobuf: static link tools when generating sdk Sinan Kaya
2021-08-17 14:07 ` Sinan Kaya [this message]
2021-08-17 14:07 ` [meta-mingw] [PATCH v2 3/3] grpc: static link tools when generating SDK Sinan Kaya
2021-08-17 14:33 ` [meta-mingw] [PATCH v2 1/3] protobuf: static link tools when generating sdk Joshua Watt
2021-08-17 14:44   ` Joshua Watt
2021-08-17 14:54     ` Sinan Kaya
2021-08-17 15:08   ` 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=20210817140742.3110-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.