aboutsummaryrefslogtreecommitdiff
path: root/package/json-glib
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 22:49:51 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:27:26 +0200
commitdc9ad9139f4aa023cdaaddcc5d8b084c8b50b810 (patch)
treeae24307e5bde4b4c4784e720ae1b6c72f3c6174e /package/json-glib
parent654de6512554c2d5ede405fd4ecac345d075b06b (diff)
downloadbuildroot-dc9ad9139f4aa023cdaaddcc5d8b084c8b50b810.tar.gz
buildroot-dc9ad9139f4aa023cdaaddcc5d8b084c8b50b810.tar.bz2
json-glib: 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 - dropping BR2_PACKAGE_GETTEXT selection Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/json-glib')
-rw-r--r--package/json-glib/Config.in1
-rw-r--r--package/json-glib/json-glib.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/package/json-glib/Config.in b/package/json-glib/Config.in
index ea15295b38..9df03d924a 100644
--- a/package/json-glib/Config.in
+++ b/package/json-glib/Config.in
@@ -4,7 +4,6 @@ config BR2_PACKAGE_JSON_GLIB
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
JSON-GLib is a library providing serialization and
deserialization support for the JavaScript Object Notation
diff --git a/package/json-glib/json-glib.mk b/package/json-glib/json-glib.mk
index db22dc9a78..5ee43d9a12 100644
--- a/package/json-glib/json-glib.mk
+++ b/package/json-glib/json-glib.mk
@@ -13,7 +13,7 @@ JSON_GLIB_LICENSE_FILES = COPYING
JSON_GLIB_INSTALL_STAGING = YES
JSON_GLIB_DEPENDENCIES = \
- $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
+ $(TARGET_NLS_DEPENDENCIES) \
host-pkgconf \
libglib2