mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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>
This commit is contained in:
@@ -4,7 +4,6 @@ config BR2_PACKAGE_JSON_GLIB
|
|||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||||
depends on BR2_USE_MMU # glib2
|
depends on BR2_USE_MMU # glib2
|
||||||
select BR2_PACKAGE_LIBGLIB2
|
select BR2_PACKAGE_LIBGLIB2
|
||||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
|
|
||||||
help
|
help
|
||||||
JSON-GLib is a library providing serialization and
|
JSON-GLib is a library providing serialization and
|
||||||
deserialization support for the JavaScript Object Notation
|
deserialization support for the JavaScript Object Notation
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ JSON_GLIB_LICENSE_FILES = COPYING
|
|||||||
JSON_GLIB_INSTALL_STAGING = YES
|
JSON_GLIB_INSTALL_STAGING = YES
|
||||||
|
|
||||||
JSON_GLIB_DEPENDENCIES = \
|
JSON_GLIB_DEPENDENCIES = \
|
||||||
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
|
$(TARGET_NLS_DEPENDENCIES) \
|
||||||
host-pkgconf \
|
host-pkgconf \
|
||||||
libglib2
|
libglib2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user