package/re2: build host as shared libs
authorMichael Nosthoff <buildroot@heine.tech>
Mon, 7 Sep 2020 16:30:39 +0000 (18:30 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 7 Sep 2020 20:47:18 +0000 (22:47 +0200)
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/re2/re2.mk

index 0a3c20466140ef3bae6e837bebcad8f6554adfef..0c3bf4e844aedfd99de8b3427e14e71eb0e5759d 100644 (file)
@@ -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))