[vlc-commits] configure: fix detection of lua
KO Myung-Hun
git at videolan.org
Fri Jan 29 14:54:36 UTC 2021
vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Wed Jan 20 10:49:00 2021 +0100| [5ad9f87ae04e345b0344316029b22bc4cb140976] | committer: Steve Lhomme
configure: fix detection of lua
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5ad9f87ae04e345b0344316029b22bc4cb140976
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index b62718e82e..d57114af22 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1936,7 +1936,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
More information about the vlc-commits
mailing list