From: Michael Nosthoff <buildroot@heine.tech>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/re2: build host as shared libs
Date: Mon, 7 Sep 2020 18:30:39 +0200 [thread overview]
Message-ID: <20200907163039.374342-1-buildroot@heine.tech> (raw)
host-grpc needs re2 as shared lib.
Set this via cmake config flag.
Fixes:
http://autobuild.buildroot.net/results/a98/a98d3203f68f0f929c544537244e7621e80ce0a1
Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
---
package/re2/re2.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/re2/re2.mk b/package/re2/re2.mk
index 0a3c204661..0c3bf4e844 100644
--- a/package/re2/re2.mk
+++ b/package/re2/re2.mk
@@ -11,7 +11,7 @@ RE2_LICENSE_FILES = LICENSE
RE2_INSTALL_STAGING = YES
RE2_CONF_OPTS += -DRE2_BUILD_TESTING=OFF
-HOST_RE2_CONF_OPTS += -DRE2_BUILD_TESTING=OFF
+HOST_RE2_CONF_OPTS += -DRE2_BUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON
$(eval $(cmake-package))
$(eval $(host-cmake-package))
--
2.25.1
next reply other threads:[~2020-09-07 16:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-07 16:30 Michael Nosthoff [this message]
2020-09-07 20:47 ` [Buildroot] [PATCH] package/re2: build host as shared libs Thomas Petazzoni
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=20200907163039.374342-1-buildroot@heine.tech \
--to=buildroot@heine.tech \
--cc=buildroot@busybox.net \
/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