aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-04-20 16:56:54 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-04-21 11:47:24 +0200
commit491b13def5a4dfce21e98becda1f2c6ea99e9fa0 (patch)
tree8735977f19f1b58e3511f5098821746004bfa662
parent69c37d8e25897b3a90b3716495e55a04cf7b973f (diff)
downloadbuildroot-491b13def5a4dfce21e98becda1f2c6ea99e9fa0.tar.gz
buildroot-491b13def5a4dfce21e98becda1f2c6ea99e9fa0.tar.bz2
package/libkrb5: fix build with NLS
Fixes: - http://autobuild.buildroot.org/results/b35dd775015772b0f322f77470debe09d24173ff Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/libkrb5/libkrb5.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libkrb5/libkrb5.mk b/package/libkrb5/libkrb5.mk
index 5ba0ab1806..56345416aa 100644
--- a/package/libkrb5/libkrb5.mk
+++ b/package/libkrb5/libkrb5.mk
@@ -11,7 +11,7 @@ LIBKRB5_SOURCE = krb5-$(LIBKRB5_VERSION).tar.gz
LIBKRB5_SUBDIR = src
LIBKRB5_LICENSE = MIT
LIBKRB5_LICENSE_FILES = NOTICE
-LIBKRB5_DEPENDENCIES = host-bison
+LIBKRB5_DEPENDENCIES = host-bison $(TARGET_NLS_DEPENDENCIES)
LIBKRB5_INSTALL_STAGING = YES
# The configure script uses AC_TRY_RUN tests to check for those values,
@@ -20,7 +20,8 @@ LIBKRB5_INSTALL_STAGING = YES
LIBKRB5_CONF_ENV = \
ac_cv_printf_positional=yes \
ac_cv_func_regcomp=yes \
- krb5_cv_attr_constructor_destructor=yes,yes
+ krb5_cv_attr_constructor_destructor=yes,yes \
+ LIBS=$(TARGET_NLS_LIBS)
# Never use the host packages
LIBKRB5_CONF_OPTS = \