From 0d68771e5493442443db3956b85ec0083f5facf4 Mon Sep 17 00:00:00 2001 From: Rahul Bedarkar Date: Thu, 18 Aug 2016 23:54:37 +0530 Subject: [PATCH] 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 --- package/libconfuse/libconfuse.mk | 4 ++++ 1 file changed, 4 insertions(+) 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)) -- 2.30.2