package/x11r7/xapp_xload: disable gettext detection when not needed
authorBernd Kuhls <bernd.kuhls@t-online.de>
Fri, 4 Dec 2020 20:50:52 +0000 (21:50 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 2 Jan 2021 21:43:21 +0000 (22:43 +0100)
Patch originates from FreeBSD:
https://lists.freebsd.org/pipermail/freebsd-x11/2015-July/016528.html
https://svnweb.freebsd.org/ports/head/x11/libXpm/Makefile?r1=384234&r2=391122&pathrev=391122

Fixes:
http://autobuild.buildroot.net/results/2ad/2ad27875ce5c16a111d54d452eb395257e9b5e2b/

Similar to how xlib_libXpm was fixed back in 2018, with 6653b0929f
(package/x11r7/xlib_libXpm: disable gettext detection when not needed).

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/x11r7/xapp_xload/xapp_xload.mk

index 4bb21ecf0b5c0bec6d3c5767d2acd5339f9da65f..9f491ccdc6e843d15fe616fb47e1d3f9fe0ba21a 100644 (file)
@@ -18,4 +18,8 @@ ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
 XAPP_XLOAD_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -DRLOADSTUB"
 endif
 
+ifeq ($(BR2_SYSTEM_ENABLE_NLS),)
+XAPP_XLOAD_CONF_ENV += ac_cv_search_gettext=no
+endif
+
 $(eval $(autotools-package))