summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Le Bihan <eric.le.bihan.dev@free.fr>2017-07-23 10:16:02 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-24 18:34:22 +0200
commitc5b85231fb35e447ad0f9739aab8361d0dab129c (patch)
tree715e230a7a9bfc09bef845b3a97e673765899e9c
parentc237f1d1c5447af3b967304d7929cf115ea1aa5d (diff)
downloadbuildroot-c5b85231fb35e447ad0f9739aab8361d0dab129c.tar.gz
buildroot-c5b85231fb35e447ad0f9739aab8361d0dab129c.zip
s6-networking: enable SSL if libressl is selected
If LibreSSL is selected, enable the associated backend to build the s6-tls* tools. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/s6-networking/s6-networking.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/s6-networking/s6-networking.mk b/package/s6-networking/s6-networking.mk
index ffaf8bc209..6463f5d80e 100644
--- a/package/s6-networking/s6-networking.mk
+++ b/package/s6-networking/s6-networking.mk
@@ -23,6 +23,11 @@ S6_NETWORKING_CONF_OPTS = \
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
$(SHARED_STATIC_LIBS_OPTS)
+ifeq ($(BR2_PACKAGE_LIBRESSL),y)
+S6_NETWORKING_CONF_OPTS += --enable-ssl=libressl
+S6_NETWORKING_DEPENDENCIES = libressl
+endif
+
define S6_NETWORKING_CONFIGURE_CMDS
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_NETWORKING_CONF_OPTS))
endef
OpenPOWER on IntegriCloud