[vlc-devel] [PATCH 08/11] configure: fix detection of lua

KO Myung-Hun komh78 at gmail.com
Wed Jan 20 09:49:30 UTC 2021


---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index cf55145c99..938ab0ff96 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1932,7 +1932,8 @@ then
 
      AS_IF([test "${have_lua_lib}" != "yes"], [
        AC_CHECK_LIB( lua , luaL_newstate,
-         [LUA_LIBS="-llua"],
+         [LUA_LIBS="-llua"
+          have_lua_lib=yes],
          [ have_lua=no ], [-lm] ) ])
 
      dnl If we found any lib, check that we have the headers too
-- 
2.22.0



More information about the vlc-devel mailing list