We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09ada67 commit c39fb8dCopy full SHA for c39fb8d
1 file changed
test/cfg/runtests.sh
@@ -273,7 +273,10 @@ function python_fn {
273
# lua.c
274
function lua_fn {
275
if [ $HAS_PKG_CONFIG -eq 1 ]; then
276
- LUACONFIG=$(get_pkg_config_cflags lua-5.3)
+ LUACONFIG=$(get_pkg_config_cflags lua)
277
+ if [ -z "$LUACONFIG" ]; then
278
+ LUACONFIG=$(get_pkg_config_cflags lua-5.3)
279
+ fi
280
if [ -n "$LUACONFIG" ]; then
281
# TODO: get rid of the error enabling/disabling?
282
set +e
0 commit comments