Diff

configure @ 12825:ee5fcfef5200 0.12

configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash) Transplanted 6b43bf85032b from trunk
author Matthew Wild <mwild1@gmail.com>
date Thu, 29 Dec 2022 16:29:03 +0000
parent 11966:4c5087ce3c2e
child 12826:944c7f0f1a9e
line wrap: on
line diff
--- a/configure	Thu Dec 29 18:06:35 2022 +0100
+++ b/configure	Thu Dec 29 16:29:03 2022 +0000
@@ -303,7 +303,7 @@
          LUA_SUFFIX="5.1";
          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