xlib_libXpm: use the new gettext logic
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Jul 2017 10:35:41 +0000 (12:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Jul 2017 23:36:54 +0000 (01:36 +0200)
This commit switches to use the new gettext logic, which involves
using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
on gettext/host-gettext.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/xlib_libXpm/xlib_libXpm.mk

index c8c54965148f6587f8f2bd6c53992b5309df96de..e781a8b5182c7b0c81533b027297d693f01ef2e7 100644 (file)
@@ -13,8 +13,7 @@ XLIB_LIBXPM_INSTALL_STAGING = YES
 # we patch configure.ac
 XLIB_LIBXPM_AUTORECONF = YES
 XLIB_LIBXPM_DEPENDENCIES = xlib_libX11 xlib_libXext xlib_libXt xproto_xproto \
-       $(if $(BR2_PACKAGE_GETTEXT),gettext) \
        $(if $(BR2_PACKAGE_LIBICONV),libiconv) \
-       host-gettext
+       $(TARGET_NLS_DEPENDENCIES)
 
 $(eval $(autotools-package))