package/xlib_libXpm: fix build with NLS

Fixes:
 - http://autobuild.buildroot.org/results/cc47a39d134fbc80426bab6fa3662150374bae35

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 1067b7d973)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2019-04-20 22:44:34 +02:00 committed by Peter Korsgaard
parent c13cf80710
commit 41bbdb72e5

View File

@ -15,9 +15,10 @@ XLIB_LIBXPM_AUTORECONF = YES
XLIB_LIBXPM_DEPENDENCIES = xlib_libX11 xlib_libXext xlib_libXt xorgproto \
$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
$(TARGET_NLS_DEPENDENCIES)
XLIB_LIBXPM_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
ifeq ($(BR2_SYSTEM_ENABLE_NLS),)
XLIB_LIBXPM_CONF_ENV = ac_cv_search_gettext=no
XLIB_LIBXPM_CONF_ENV += ac_cv_search_gettext=no
endif
$(eval $(autotools-package))