Skip to content

Commit 662c05f

Browse files
committed
build: Adding a new path while searching for liblua.
Alpine has a different folder to hold concurrent versions of Lua. This commit address issue #2560.
1 parent a589f6b commit 662c05f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/lua.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ AC_DEFUN([CHECK_LUA],
99
LUA_POSSIBLE_LIB_NAMES="lua54 lua5.4 lua-5.4 lua53 lua5.3 lua-5.3 lua52 lua5.2 lua-5.2 lua51 lua5.1 lua-5.1 lua"
1010
1111
# Possible extensions for the library
12-
LUA_POSSIBLE_EXTENSIONS="so so0 la sl dll dylib so.0.0.0"
12+
LUA_POSSIBLE_EXTENSIONS="so la sl dll dylib"
1313
1414
# Possible paths (if pkg-config was not found, proceed with the file lookup)
15-
LUA_POSSIBLE_PATHS="/usr/lib /usr/local/lib /usr/local/lib64 /usr/local/lua /usr/local/liblua /usr/local /opt /usr /usr/lib64 /opt/local"
15+
LUA_POSSIBLE_PATHS="/usr/lib /usr/local/lib /usr/local/lib64 /usr/local/lua /usr/local/liblua /usr/local /opt /usr /usr/lib64 /opt/local /usr/lib/lua5.3/liblua /usr/lib/lua5.2/liblua"
1616
1717
# Variables to be set by this very own script.
1818
LUA_CFLAGS=""

0 commit comments

Comments
 (0)