From 0446e276b4a105ff380bc89d756a07814783002d 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 (cherry picked from commit 934ec83e9d005fb21e5813f4480ebd624ee28c6c) Signed-off-by: Peter Korsgaard --- 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 c1bf4d260f..bfccd02031 100644 --- a/package/socat/socat.mk +++ b/package/socat/socat.mk @@ -39,7 +39,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