Fix the following build failure raised since bump of glibc to version 2.39 in commitb5680f53d6
: /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>
43 lines
1006 B
Makefile
43 lines
1006 B
Makefile
################################################################################
|
|
#
|
|
# rtty
|
|
#
|
|
################################################################################
|
|
|
|
RTTY_VERSION = 8.1.0
|
|
RTTY_SITE = https://github.com/zhaojh329/rtty/releases/download/v$(RTTY_VERSION)
|
|
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 += \
|
|
-DSSL_SUPPORT=ON \
|
|
-DUSE_MBEDTLS=ON \
|
|
-DUSE_OPENSSL=OFF \
|
|
-DUSE_WOLFSSL=OFF
|
|
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
RTTY_DEPENDENCIES += host-pkgconf openssl
|
|
RTTY_CONF_OPTS += \
|
|
-DSSL_SUPPORT=ON \
|
|
-DUSE_MBEDTLS=OFF \
|
|
-DUSE_OPENSSL=ON \
|
|
-DUSE_WOLFSSL=OFF
|
|
else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y)
|
|
RTTY_DEPENDENCIES += wolfssl
|
|
RTTY_CONF_OPTS += \
|
|
-DSSL_SUPPORT=ON \
|
|
-DUSE_MBEDTLS=OFF \
|
|
-DUSE_OPENSSL=OFF \
|
|
-DUSE_WOLFSSL=ON
|
|
else
|
|
RTTY_CONF_OPTS += -DSSL_SUPPORT=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|