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>
This commit is contained in:
Rahul Bedarkar 2016-08-18 23:54:37 +05:30 committed by Thomas Petazzoni
parent 834ae8ce82
commit 0d68771e54

View 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))