From 4028ee71743a25af172809e098e4c8eb61bf55f4 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Tue, 1 Nov 2022 09:41:55 +0200 Subject: [PATCH] package/socat: disable openssl for static build socat's configure script does not take the zlib dependency into account when linking with libssl, and therefore fails at detecting libssl in BR2_STATIC_LIBS=y configurations. Since there is no easy way to add the zlib dependency, just disable openssl support for static builds. This is not fixing a build failure: libssl was not detected in BR2_STATIC_LIBS=y configurations, so what this commit does is make it explicit. Signed-off-by: Baruch Siach Signed-off-by: Thomas Petazzoni --- package/socat/socat.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/socat/socat.mk b/package/socat/socat.mk index 0414c8adc8..28ea72e5a7 100644 --- a/package/socat/socat.mk +++ b/package/socat/socat.mk @@ -31,7 +31,7 @@ SOCAT_DEPENDENCIES = host-autoconf # incompatibile license (GPL-3.0+) SOCAT_CONF_OPTS = --disable-readline -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_OPENSSL):$(BR2_STATIC_LIBS),y:) SOCAT_DEPENDENCIES += openssl else SOCAT_CONF_OPTS += --disable-openssl