Skip to content

Commit

Permalink
config/lua: Cross-compiling support
Browse files Browse the repository at this point in the history
This commit guards the run-time check for a Lua integer so that it no
longer attempts execution in a cross-compilation environment.
  • Loading branch information
jlucovsky authored and victorjulien committed Sep 3, 2020
1 parent 3e8db21 commit 5c725d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -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=""

Expand Down

0 comments on commit 5c725d5

Please sign in to comment.