Changeset

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
parents 12823:dd6c35325241
children 12826:944c7f0f1a9e 12829:fba795dd99c8
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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