diff mbox series

[2/3] package/redis-plus-plus: disable static library build with BR2_STATIC_LIBS=y

Message ID 20230726211518.2205469-2-bernd@kuhls.net
State Superseded
Headers show
Series [1/3] package/hiredis: bump version to 1.2.0 | expand

Commit Message

Bernd Kuhls July 26, 2023, 9:15 p.m. UTC
Fixes:
http://autobuild.buildroot.net/results/6d3/6d310d52dbfe076cd470be71f02de32fb47fa904/
in combination with the bump of hiredis to 1.2.0 which contains
improvements for static builds.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/redis-plus-plus/redis-plus-plus.mk | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/package/redis-plus-plus/redis-plus-plus.mk b/package/redis-plus-plus/redis-plus-plus.mk
index ea0e182748..4d1eb9361b 100644
--- a/package/redis-plus-plus/redis-plus-plus.mk
+++ b/package/redis-plus-plus/redis-plus-plus.mk
@@ -12,6 +12,7 @@  REDIS_PLUS_PLUS_INSTALL_STAGING = YES
 REDIS_PLUS_PLUS_DEPENDENCIES = hiredis
 
 REDIS_PLUS_PLUS_CONF_OPTS = \
+	-DREDIS_PLUS_PLUS_BUILD_SHARED=$(if $(BR2_STATIC_LIBS),OFF,ON) \
 	-DREDIS_PLUS_PLUS_BUILD_TEST=OFF
 
 # since version 1.3.0, by default, redis-plus-plus is built with the