Diff

configure @ 12822:6b43bf85032b

configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash)
author Matthew Wild <mwild1@gmail.com>
date Thu, 29 Dec 2022 16:29:03 +0000
parent 12570:e6f68b6c87e1
child 12826:944c7f0f1a9e
line wrap: on
line diff
--- a/configure	Thu Dec 29 16:25:00 2022 +0000
+++ b/configure	Thu Dec 29 16:29:03 2022 +0000
@@ -304,7 +304,7 @@
          LUA_SUFFIX="5.4";
          LUA_SUFFIX_SET=yes
       fi
-      LUA_CF="$(pkg-config --cflags-only-I lua$LUA_SUFFIX)"
+      LUA_CF="$(pkg-config --cflags-only-I lua"$LUA_SUFFIX")"
       LUA_CF="${LUA_CF#*-I}"
       LUA_CF="${LUA_CF%% *}"
       if [ "$LUA_CF" != "" ]; then