util-linux: use the new gettext logic
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 3 Jul 2017 21:21:14 +0000 (23:21 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Jul 2017 23:35:58 +0000 (01:35 +0200)
commit7426b582f6aedef449f398b1f815fb22978687ef
tree9ccad1858da4d0cd6b27e303d71430be22905d4f
parent5ba9a7a6529f22866f5777fc46e1fefb3638aafc
util-linux: use the 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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Carlos Santos <casantos@datacom.ind.br>
package/util-linux/Config.in
package/util-linux/util-linux.mk