package/rtty: add libxcrypt optional dependency

Fix the following build failure raised since bump of glibc to version
2.39 in commit b5680f53d6:

/home/autobuild/autobuild/instance-14/output-1/host/lib/gcc/i686-buildroot-linux-gnu/12.3.0/../../../../i686-buildroot-linux-gnu/bin/ld: cannot find -lcrypt: No such file or directory

Fixes: b5680f53d6
 - http://autobuild.buildroot.org/results/0fd5a118f6173233fc3e9ebc9477948031355dd7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2024-04-07 14:35:50 +02:00 committed by Yann E. MORIN
parent 345ccb523e
commit 6a1059850c
2 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,7 @@ config BR2_PACKAGE_RTTY
bool "rtty"
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_LIBEV
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
help
Access your device's terminal from anywhere via the web.

View File

@ -10,6 +10,10 @@ RTTY_LICENSE = MIT
RTTY_LICENSE_FILES = LICENSE
RTTY_DEPENDENCIES = libev
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
RTTY_DEPENDENCIES += libxcrypt
endif
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
RTTY_DEPENDENCIES += mbedtls
RTTY_CONF_OPTS += \