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>
This commit is contained in:
parent
c237f1d1c5
commit
c5b85231fb
@ -23,6 +23,11 @@ S6_NETWORKING_CONF_OPTS = \
|
|||||||
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
|
$(if $(BR2_STATIC_LIBS),,--disable-allstatic) \
|
||||||
$(SHARED_STATIC_LIBS_OPTS)
|
$(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
|
define S6_NETWORKING_CONFIGURE_CMDS
|
||||||
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_NETWORKING_CONF_OPTS))
|
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(S6_NETWORKING_CONF_OPTS))
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user