aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2020-12-04 21:50:52 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2021-01-05 23:04:50 +0100
commit05224503fa23ebe8fe17a0a1f587087c5377db65 (patch)
tree4768e3a49f20ea4a773c0dc3b72f84dfb4b9ae6c
parent16aee2cb19435b2edb1c8a086653667aeff87648 (diff)
downloadbuildroot-05224503fa23ebe8fe17a0a1f587087c5377db65.tar.gz
buildroot-05224503fa23ebe8fe17a0a1f587087c5377db65.tar.bz2
package/x11r7/xapp_xload: disable gettext detection when not needed
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> (cherry picked from commit 3dc427eb1daadcdcb04a5a8efdefc4315da65818) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/x11r7/xapp_xload/xapp_xload.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/x11r7/xapp_xload/xapp_xload.mk b/package/x11r7/xapp_xload/xapp_xload.mk
index 4bb21ecf0b..9f491ccdc6 100644
--- a/package/x11r7/xapp_xload/xapp_xload.mk
+++ b/package/x11r7/xapp_xload/xapp_xload.mk
@@ -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))