diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2012-06-28 16:56:45 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-06-28 16:56:45 +0200 |
commit | 62fe33317bd1001de61dfe4df4c8159ecd1f5be0 (patch) | |
tree | 70f8f478c4420fa7af760e66a5dcb2ec3e0a68ca /package | |
parent | 5f7879e02479818fac17c0c281511b492da904ee (diff) | |
download | buildroot-novena-62fe33317bd1001de61dfe4df4c8159ecd1f5be0.tar.gz buildroot-novena-62fe33317bd1001de61dfe4df4c8159ecd1f5be0.zip |
quota: fix build on uClibc with locale support
Fixes http://autobuild.buildroot.net/results/508f2ee3f97dfdf782eb1c0b03c2fffb87c4953f
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r-- | package/quota/Config.in | 2 | ||||
-rw-r--r-- | package/quota/quota.mk | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/package/quota/Config.in b/package/quota/Config.in index dfefb8a18..6c2beff04 100644 --- a/package/quota/Config.in +++ b/package/quota/Config.in @@ -5,6 +5,8 @@ config BR2_PACKAGE_QUOTA 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. diff --git a/package/quota/quota.mk b/package/quota/quota.mk index 845eefbaa..971523076 100644 --- a/package/quota/quota.mk +++ b/package/quota/quota.mk @@ -10,6 +10,11 @@ QUOTA_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/linuxqu 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) \ |