4d57014449
Fix the following build failure raised since bump of glibc to version 2.39 in commitb5680f53d6
: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc64-buildroot-linux-gnu/12.3.0/../../../../sparc64-buildroot-linux-gnu/bin/ld: cannot find -lcrypt: No such file or directory Fixes:b5680f53d6
- http://autobuild.buildroot.org/results/c84e27815cc607ad78a1901cb2be591df2686ac7 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# libnetconf2
|
|
#
|
|
################################################################################
|
|
|
|
LIBNETCONF2_VERSION = 2.1.28
|
|
LIBNETCONF2_SITE = $(call github,CESNET,libnetconf2,v$(LIBNETCONF2_VERSION))
|
|
LIBNETCONF2_INSTALL_STAGING = YES
|
|
LIBNETCONF2_LICENSE = BSD-3-Clause
|
|
LIBNETCONF2_LICENSE_FILES = LICENSE
|
|
LIBNETCONF2_DEPENDENCIES = libyang
|
|
HOST_LIBNETCONF2_DEPENDENCIES = host-libyang
|
|
|
|
LIBNETCONF2_CONF_OPTS = \
|
|
-DENABLE_TESTS=OFF \
|
|
-DENABLE_VALGRIND_TESTS=OFF
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSSH_SERVER), y)
|
|
LIBNETCONF2_CONF_OPTS += -DENABLE_SSH=ON
|
|
LIBNETCONF2_DEPENDENCIES += libssh
|
|
else
|
|
LIBNETCONF2_CONF_OPTS += -DENABLE_SSH=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBOPENSSL), y)
|
|
LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=ON
|
|
LIBNETCONF2_DEPENDENCIES += openssl
|
|
else
|
|
LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
|
LIBNETCONF2_DEPENDENCIES += libxcrypt
|
|
endif
|
|
|
|
HOST_LIBNETCONF2_CONF_OPTS = \
|
|
-DENABLE_TESTS=OFF \
|
|
-DENABLE_VALGRIND_TESTS=OFF \
|
|
-DENABLE_SSH=OFF \
|
|
-DENABLE_TLS=OFF
|
|
|
|
$(eval $(cmake-package))
|
|
$(eval $(host-cmake-package))
|