From 181124869129604d6b3eec89e3cc733dc29a953a Mon Sep 17 00:00:00 2001 From: Rakshasa Date: Mon, 3 Feb 2025 16:21:30 +0000 Subject: [PATCH] Add checks for liblua-*.so.0 for alpine compatibility. --- scripts/ax_lua.m4 | 2 ++ scripts/checks.m4 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/ax_lua.m4 b/scripts/ax_lua.m4 index ddbb9dd6..ef010736 100644 --- a/scripts/ax_lua.m4 +++ b/scripts/ax_lua.m4 @@ -626,6 +626,8 @@ AC_DEFUN([AX_LUA_LIBS], lua$LUA_SHORT_VERSION \ lua-$LUA_VERSION \ lua-$LUA_SHORT_VERSION \ + :liblua-$LUA_VERSION.so.0 \ + :liblua-$LUA_SHORT_VERSION.so.0 \ lua \ ], [_ax_found_lua_libs='yes'], diff --git a/scripts/checks.m4 b/scripts/checks.m4 index 629020db..4187e1de 100644 --- a/scripts/checks.m4 +++ b/scripts/checks.m4 @@ -400,7 +400,7 @@ AC_DEFUN([TORRENT_WITH_XMLRPC_C], [ else xmlrpc_cc_prg="$withval" fi - + if eval $xmlrpc_cc_prg --version 2>/dev/null >/dev/null; then CXXFLAGS="$CXXFLAGS `$xmlrpc_cc_prg --cflags server-util`" LIBS="$LIBS `$xmlrpc_cc_prg server-util --libs`"