From: Rahul Bedarkar Date: Thu, 18 Aug 2016 18:24:37 +0000 (+0530) Subject: libconfuse: add optional dependency on gettext X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d68771e5493442443db3956b85ec0083f5facf4;p=buildroot.git libconfuse: add optional dependency on gettext When available, libconfuse will use the libintl provided by the gettext package. Signed-off-by: Rahul Bedarkar [Thomas: make it really an optional dependency.] Signed-off-by: Thomas Petazzoni --- 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))