Skip to content

Commit c39fb8d

Browse files
committed
test/cli/runtests.sh: adjusted for unversioned LUA package config
1 parent 09ada67 commit c39fb8d

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
@@ -273,7 +273,10 @@ function python_fn {
273273
# lua.c
274274
function lua_fn {
275275
if [ $HAS_PKG_CONFIG -eq 1 ]; then
276-
LUACONFIG=$(get_pkg_config_cflags lua-5.3)
276+
LUACONFIG=$(get_pkg_config_cflags lua)
277+
if [ -z "$LUACONFIG" ]; then
278+
LUACONFIG=$(get_pkg_config_cflags lua-5.3)
279+
fi
277280
if [ -n "$LUACONFIG" ]; then
278281
# TODO: get rid of the error enabling/disabling?
279282
set +e

0 commit comments

Comments
 (0)