mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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 <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 934ec83e9d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
06e37ff050
commit
0446e276b4
@@ -39,7 +39,7 @@ SOCAT_DEPENDENCIES = host-autoconf
|
|||||||
# incompatibile license (GPL-3.0+)
|
# incompatibile license (GPL-3.0+)
|
||||||
SOCAT_CONF_OPTS = --disable-readline
|
SOCAT_CONF_OPTS = --disable-readline
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL):$(BR2_STATIC_LIBS),y:)
|
||||||
SOCAT_DEPENDENCIES += openssl
|
SOCAT_DEPENDENCIES += openssl
|
||||||
else
|
else
|
||||||
SOCAT_CONF_OPTS += --disable-openssl
|
SOCAT_CONF_OPTS += --disable-openssl
|
||||||
|
|||||||
Reference in New Issue
Block a user