depends on BR2_USE_WCHAR
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_MOUNT
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+ select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
help
Implementation of the disk quota system.
QUOTA_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
+ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
+QUOTA_DEPENDENCIES = gettext libintl
+QUOTA_MAKE_OPT += LDFLAGS="$(TARGET_LDFLAGS) -lintl"
+endif
+
# Package uses autoconf but not automake.
QUOTA_INSTALL_TARGET_OPT = \
ROOTDIR=$(TARGET_DIR) \