mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
package/msmtp: fix configure with openssl/gnutls
Since the bump of msmtp from 1.6.6 to 1.8.0 in commit b68ad1b2d0d1c290489e0b4e1afec46b8220a8b9 ("msmtp: bump to version 1.8.0"), the configure option to select the SSL/TLS implementation is no longer --with-ssl, but --with-tls. Signed-off-by: Ryan Coe <bluemrp9@gmail.com> [Thomas: improve commit log] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
354781dd96
commit
4ab484444f
@ -41,17 +41,17 @@ MSMTP_CONF_OPTS += --without-libsecret
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
MSMTP_CONF_OPTS += --with-ssl=openssl
|
MSMTP_CONF_OPTS += --with-tls=openssl
|
||||||
MSMTP_DEPENDENCIES += openssl
|
MSMTP_DEPENDENCIES += openssl
|
||||||
ifeq ($(BR2_STATIC_LIBS),y)
|
ifeq ($(BR2_STATIC_LIBS),y)
|
||||||
# openssl uses zlib, so we need to explicitly link with it when static
|
# openssl uses zlib, so we need to explicitly link with it when static
|
||||||
MSMTP_CONF_ENV += LIBS=-lz
|
MSMTP_CONF_ENV += LIBS=-lz
|
||||||
endif
|
endif
|
||||||
else ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
else ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||||
MSMTP_CONF_OPTS += --with-ssl=gnutls
|
MSMTP_CONF_OPTS += --with-tls=gnutls
|
||||||
MSMTP_DEPENDENCIES += gnutls
|
MSMTP_DEPENDENCIES += gnutls
|
||||||
else
|
else
|
||||||
MSMTP_CONF_OPTS += --with-ssl=no
|
MSMTP_CONF_OPTS += --with-tls=no
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user