libconfuse: use the new gettext logic

This commit switches to use the new gettext logic, which involves
using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
on gettext/host-gettext.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2017-07-04 12:28:51 +02:00
parent c10979723a
commit ff98354e7e

View File

@ -11,10 +11,7 @@ LIBCONFUSE_INSTALL_STAGING = YES
LIBCONFUSE_CONF_OPTS = --disable-rpath
LIBCONFUSE_LICENSE = ISC
LIBCONFUSE_LICENSE_FILES = LICENSE
ifeq ($(BR2_PACKAGE_GETTEXT),y)
LIBCONFUSE_DEPENDENCIES += gettext
endif
LIBCONFUSE_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
$(eval $(autotools-package))
$(eval $(host-autotools-package))