diff mbox series

package/cracklib: properly handle BR2_SYSTEM_ENABLE_NLS=y configurations

Message ID 20190509204340.6606-1-thomas.petazzoni@bootlin.com
State Accepted
Commit 4292b23123d0862eb809e2bcc9543c8b52e4d791
Headers show
Series package/cracklib: properly handle BR2_SYSTEM_ENABLE_NLS=y configurations | expand

Commit Message

Thomas Petazzoni May 9, 2019, 8:43 p.m. UTC
Use the TARGET_NLS_DEPENDENCIES and TARGET_NLS_LIBS variables to
correctly handle BR2_SYSTEM_ENABLE_NLS=y configurations.

Fixes:

  http://autobuild.buildroot.net/results/dda70b5b88c75d36c61fbf1cc5fca16ea8414582/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/cracklib/cracklib.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Peter Korsgaard May 10, 2019, 1:59 p.m. UTC | #1
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > Use the TARGET_NLS_DEPENDENCIES and TARGET_NLS_LIBS variables to
 > correctly handle BR2_SYSTEM_ENABLE_NLS=y configurations.

 > Fixes:

 >   http://autobuild.buildroot.net/results/dda70b5b88c75d36c61fbf1cc5fca16ea8414582/

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Committed, thanks.
Peter Korsgaard May 26, 2019, 9:12 a.m. UTC | #2
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > Use the TARGET_NLS_DEPENDENCIES and TARGET_NLS_LIBS variables to
 > correctly handle BR2_SYSTEM_ENABLE_NLS=y configurations.

 > Fixes:

 >   http://autobuild.buildroot.net/results/dda70b5b88c75d36c61fbf1cc5fca16ea8414582/

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Committed to 2019.02.x, thanks.
diff mbox series

Patch

diff --git a/package/cracklib/cracklib.mk b/package/cracklib/cracklib.mk
index b9e3dc0d75..91d510ff34 100644
--- a/package/cracklib/cracklib.mk
+++ b/package/cracklib/cracklib.mk
@@ -9,7 +9,8 @@  CRACKLIB_SITE = https://github.com/cracklib/cracklib/releases/download/v$(CRACKL
 CRACKLIB_LICENSE = LGPL-2.1
 CRACKLIB_LICENSE_FILES = COPYING.LIB
 CRACKLIB_INSTALL_STAGING = YES
-CRACKLIB_DEPENDENCIES = host-cracklib
+CRACKLIB_DEPENDENCIES = host-cracklib $(TARGET_NLS_DEPENDENCIES)
+CRACKLIB_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
 
 ifeq ($(BR2_PACKAGE_ZLIB),y)
 CRACKLIB_CONF_OPTS += --with-zlib