aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Rahul Bedarkar <rahul.bedarkar@imgtec.com>2016-08-18 23:54:37 +0530
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-08-18 23:30:50 +0200
commit0d68771e5493442443db3956b85ec0083f5facf4 (patch)
tree3de296616b7d2c2055ae4600ab174a84707c7701
parent834ae8ce82fca7156e09fac5182fac4dbf8ebdf9 (diff)
downloadbuildroot-0d68771e5493442443db3956b85ec0083f5facf4.tar.gz
buildroot-0d68771e5493442443db3956b85ec0083f5facf4.tar.bz2
libconfuse: add optional dependency on gettext
When available, libconfuse will use the libintl provided by the gettext package. Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> [Thomas: make it really an optional dependency.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/libconfuse/libconfuse.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libconfuse/libconfuse.mk b/package/libconfuse/libconfuse.mk
index fea90f1b09..2908af3292 100644
--- a/package/libconfuse/libconfuse.mk
+++ b/package/libconfuse/libconfuse.mk
@@ -14,5 +14,9 @@ HOST_LIBCONFUSE_DEPENDENCIES = host-flex
LIBCONFUSE_LICENSE = ISC
LIBCONFUSE_LICENSE_FILES = LICENSE
+ifeq ($(BR2_PACKAGE_GETTEXT),y)
+LIBCONFUSE_DEPENDENCIES += gettext
+endif
+
$(eval $(autotools-package))
$(eval $(host-autotools-package))