]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
glib-networking: use the new gettext logic
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 3 Jul 2017 20:46:50 +0000 (22:46 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Jul 2017 23:27:25 +0000 (01:27 +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

 - dropping BR2_PACKAGE_GETTEXT selection

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

index 01d8552f80a815963060235aa05b137a853d926b..ec2962392c5e66a6bf61b884e3a64d6db8e9c4e2 100644 (file)
@@ -4,7 +4,6 @@ config BR2_PACKAGE_GLIB_NETWORKING
        depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
        depends on BR2_USE_MMU # glib2
        select BR2_PACKAGE_LIBGLIB2
-       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
        help
          Network-related GIO modules for glib.
 
index eb75c86b229f052833b4816760cfe57bfd81df3b..10a3b706b33db1ac61d4b0200ee1c318f1c025e8 100644 (file)
@@ -10,7 +10,7 @@ GLIB_NETWORKING_SITE = http://ftp.gnome.org/pub/gnome/sources/glib-networking/$(
 GLIB_NETWORKING_SOURCE = glib-networking-$(GLIB_NETWORKING_VERSION).tar.xz
 GLIB_NETWORKING_INSTALL_STAGING = YES
 GLIB_NETWORKING_DEPENDENCIES = \
-       $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
+       $(TARGET_NLS_DEPENDENCIES) \
        host-pkgconf \
        host-intltool \
        libglib2