We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4efe202 commit 20891bbCopy full SHA for 20891bb
1 file changed
test/cfg/runtests.sh
@@ -291,7 +291,10 @@ function python_fn {
291
# lua.c
292
function lua_fn {
293
if [ $HAS_PKG_CONFIG -eq 1 ]; then
294
- LUACONFIG=$(get_pkg_config_cflags lua-5.3)
+ LUACONFIG=$(get_pkg_config_cflags lua)
295
+ if [ -z "$LUACONFIG" ]; then
296
+ LUACONFIG=$(get_pkg_config_cflags lua-5.3)
297
+ fi
298
if [ -n "$LUACONFIG" ]; then
299
# TODO: get rid of the error enabling/disabling?
300
set +e
0 commit comments