mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/monit: add libxcrypt optional dependency
Fix the following build failure raised since bump of glibc to version 2.39 in commitb5680f53d6: /home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/powerpc-buildroot-linux-gnu/13.2.0/../../../../powerpc-buildroot-linux-gnu/bin/ld: src/util.o: in function `Util_checkCredentials': util.c:(.text+0x32e8): undefined reference to `crypt' Fixes:b5680f53d6- http://autobuild.buildroot.org/results/12b2c6665280dcb813a58d9b025038bacc3b8d51 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:
committed by
Yann E. MORIN
parent
e4eda364a2
commit
8e7450b63d
@@ -2,6 +2,7 @@ config BR2_PACKAGE_MONIT
|
|||||||
bool "monit"
|
bool "monit"
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
depends on BR2_USE_MMU # fork()
|
depends on BR2_USE_MMU # fork()
|
||||||
|
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||||
help
|
help
|
||||||
Monit is a free open source utility for managing and
|
Monit is a free open source utility for managing and
|
||||||
monitoring, processes, programs, files, directories and
|
monitoring, processes, programs, files, directories and
|
||||||
|
|||||||
@@ -25,6 +25,10 @@ MONIT_CONF_OPTS += \
|
|||||||
--without-pam \
|
--without-pam \
|
||||||
--with-largefiles
|
--with-largefiles
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||||
|
MONIT_DEPENDENCIES += libxcrypt
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
MONIT_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
|
MONIT_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
|
||||||
ifeq ($(BR2_STATIC_LIBS),y)
|
ifeq ($(BR2_STATIC_LIBS),y)
|
||||||
|
|||||||
Reference in New Issue
Block a user