Skip to content

Commit 72a16da

Browse files
committed
test/cli/runtests.sh: adjusted for unversioned LUA package config
1 parent 1a15da5 commit 72a16da

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test/cfg/runtests.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,10 @@ function python_fn {
291291
# lua.c
292292
function lua_fn {
293293
if [ $HAS_PKG_CONFIG -eq 1 ]; then
294-
LUACONFIG=$(get_pkg_config_cflags lua-5.3)
294+
LUACONFIG=$(get_pkg_config_cflags lua)
295+
if [ -z "$LUACONFIG" ]; then
296+
LUACONFIG=$(get_pkg_config_cflags lua-5.3)
297+
fi
295298
if [ -n "$LUACONFIG" ]; then
296299
# TODO: get rid of the error enabling/disabling?
297300
set +e

0 commit comments

Comments
 (0)