mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/x11r7/xapp_xdm: needs libxcrypt
While doing a per-package build the package is failing to
compile with this error (gcc 13.x glibc toochain):
make[3]: Entering directory
'/home/wbx/buildroot-2025.02.3/output/build/xapp_xdm-1.1.14/xdm' CC
session.o session.c:146:11: fatal error: crypt.h: No such file or
directory 146 | # include <crypt.h> | ^~~~~~~~~
compilation terminated.
Fix this error by providing the needed glibc dependencies.
Fixes:
https://autobuild.buildroot.org/results/b75/b75ad8f1159613656dce482992c800545d60ae69/
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 2d076a1b76)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
a017d534d9
commit
af3e9238c7
@@ -3,6 +3,7 @@ config BR2_PACKAGE_XAPP_XDM
|
||||
depends on BR2_USE_MMU # fork()
|
||||
# Runtime dependency: can't start an X server unless there is one
|
||||
depends on BR2_PACKAGE_XSERVER_XORG_SERVER
|
||||
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_XAPP_SESSREG
|
||||
select BR2_PACKAGE_XAPP_XRDB
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
|
||||
@@ -30,6 +30,10 @@ else
|
||||
XAPP_XDM_CONF_OPTS += --without-xinerama
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||
XAPP_XDM_DEPENDENCIES += libxcrypt
|
||||
endif
|
||||
|
||||
define XAPP_XDM_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -m 0755 -D package/x11r7/xapp_xdm/S99xdm \
|
||||
$(TARGET_DIR)/etc/init.d/S99xdm
|
||||
|
||||
Reference in New Issue
Block a user