From 5c725d50502b2a7a747fc04938937b8c6b733aac Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Sat, 29 Aug 2020 10:59:49 -0400 Subject: [PATCH] config/lua: Cross-compiling support This commit guards the run-time check for a Lua integer so that it no longer attempts execution in a cross-compilation environment. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 718dc6aeba..f51d7b2b52 100644 --- a/configure.ac +++ b/configure.ac @@ -2261,7 +2261,7 @@ return 0; AM_CONDITIONAL([HAVE_LUA], [test "x$enable_lua" != "xno"]) # If Lua is enabled, test the integer size. - if test "x$enable_lua" = "xyes"; then + if test "x$enable_lua" = "xyes" -a "$cross_compiling" != "yes"; then TMPLIBS="$LIBS" LIBS="" -- 2.47.2