package/openvmtools: needs libxcrypt with glibc

Fixes:
http://autobuild.buildroot.net/results/b3b66d7dff38ca6fb0be9a98d98db721ee98ef1b

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

checking for crypt in -lcrypt... no
configure: error: libcrypt not found. Please install the libc/libcrypt devel package(s).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Peter Korsgaard
2025-05-17 21:12:01 +02:00
committed by Julien Olivain
parent 11dcd7bd53
commit 3615c26899
2 changed files with 5 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ config BR2_PACKAGE_OPENVMTOOLS
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBDNET
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
help
Open Virtual Machine Tools for VMware guest OS

View File

@@ -35,6 +35,10 @@ ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
OPENVMTOOLS_DEPENDENCIES += libtirpc
endif
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
OPENVMTOOLS_DEPENDENCIES += libxcrypt
endif
# When libfuse is available, openvmtools can build vmblock-fuse, so
# make sure that libfuse gets built first
ifeq ($(BR2_PACKAGE_LIBFUSE),y)