]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
libconfuse: add optional dependency on gettext
authorRahul Bedarkar <rahul.bedarkar@imgtec.com>
Thu, 18 Aug 2016 18:24:37 +0000 (23:54 +0530)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 18 Aug 2016 21:30:50 +0000 (23:30 +0200)
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>
package/libconfuse/libconfuse.mk

index fea90f1b09d77abf66abf7e77644ecb16178d9c5..2908af3292af0cf7f7b12f97f48e9a3090bd6477 100644 (file)
@@ -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))