Skip to contentSkip to conversation

package/re2: build host as shared libs

PATCH New Michael Nosthoff 2 participants 2 messages Sep 7, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/re2: build host as shared libs

host-grpc needs re2 as shared lib.
Set this via cmake config flag.

Fixes:
http://autobuild.buildroot.net/results/a98/a98d3203f68f0f929c544537244e7621e80ce0a1

---
 package/re2/re2.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/re2/re2.mk +1 -1
index 0a3c204661..0c3bf4e844 100644
@@ -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))
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/re2: build host as shared libs

Quoted 10 lines · On Mon, 7 Sep 2020 18:30:39 +0200 Michael Nosthoff via buildroot…

host-grpc needs re2 as shared lib.
Set this via cmake config flag.

Fixes:
http://autobuild.buildroot.net/results/a98/a98d3203f68f0f929c544537244e7621e80ce0a1

---
 package/re2/re2.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com