]> Git Repo - buildroot-mgba.git/commitdiff
package/shadow: fix NLS build
authorFabrice Fontaine <[email protected]>
Sun, 5 May 2024 14:17:59 +0000 (16:17 +0200)
committerThomas Petazzoni <[email protected]>
Mon, 6 May 2024 19:27:53 +0000 (21:27 +0200)
NLS is an optional dependency since the addition of the package in
commit f78c5cb5cae93a9e63dad4361d78e1787759382f:

/home/autobuild/autobuild/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-musleabi/12.3.0/../../../../arm-buildroot-linux-musleabi/bin/ld: ../lib/.libs/libshadow.a(libshadow_la-alloc.o): in function `xcalloc':
alloc.c:(.text+0x7c): undefined reference to `libintl_gettext'

Fixes: f78c5cb5cae93a9e63dad4361d78e1787759382f
 - http://autobuild.buildroot.org/results/9f604d09745ffa1f4db3bdcfe0326c236effac0c

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
package/shadow/shadow.mk

index 491f271330ab216bf51b3d60e8b1484255ef8ffa..e4d8b67b8a77dcddf701d8b5bd611613e4a99fa6 100644 (file)
@@ -10,6 +10,8 @@ SHADOW_SOURCE = shadow-$(SHADOW_VERSION).tar.xz
 SHADOW_LICENSE = BSD-3-Clause
 SHADOW_LICENSE_FILES = COPYING
 SHADOW_CPE_ID_VENDOR = debian
+SHADOW_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
+SHADOW_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
 
 SHADOW_CONF_OPTS = \
        --disable-man \
This page took 0.028037 seconds and 4 git commands to generate.