package/libkrb5: fix build with NLS
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 20 Apr 2019 14:56:54 +0000 (16:56 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 21 Apr 2019 09:47:24 +0000 (11:47 +0200)
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>
package/libkrb5/libkrb5.mk

index 5ba0ab180675a7e6d2f761f12b62b9fbc973b7e4..56345416aa10abd4ac82d375f671072ebc43ba56 100644 (file)
@@ -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 = \