mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
libevent: add optional dependency on OpenSSL
libevent can optionally use OpenSSL, so add an optional dependency on this package to explicit this possibility. This makes sure libevent always gets built with OpenSSL support when the OpenSSL package is enabled. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
@@ -22,5 +22,12 @@ ifneq ($(BR2_PACKAGE_PYTHON),y)
|
||||
LIBEVENT_POST_INSTALL_TARGET_HOOKS += LIBEVENT_REMOVE_PYSCRIPT
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LIBEVENT_DEPENDENCIES += openssl
|
||||
LIBEVENT_CONF_OPTS += --enable-openssl
|
||||
else
|
||||
LIBEVENT_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user