]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
dos2unix: use new gettext logic
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 3 Jul 2017 14:59:50 +0000 (16:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Jul 2017 23:27:24 +0000 (01:27 +0200)
commite0a46903ee7de81f6807725c2c523d238cab3f0d
treeaeb1ab94a49c840a21e2919cd52c5210a8bf2a61
parent388bb94b3d2d6d3acb8b4cdce22d6f0ca3dd2ba6
dos2unix: use new gettext logic

This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

 - dropping BR2_PACKAGE_GETTEXT selection

In addition, we now use BR2_SYSTEM_ENABLE_NLS instead of
BR2_ENABLE_LOCALE to decide if NLS support should be enabled or
disabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dos2unix/Config.in
package/dos2unix/dos2unix.mk