From 015e238020de9abfa83bcd467e149ec8cec0b082 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Mon, 12 Aug 2024 08:30:02 +0000 Subject: [PATCH] ci_build.sh: actually honour CANBUILD_LIBGD_CGI=no Signed-off-by: Jim Klimov --- ci_build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci_build.sh b/ci_build.sh index fd1253c02e..cf28f9b2d8 100755 --- a/ci_build.sh +++ b/ci_build.sh @@ -1294,7 +1294,11 @@ default|default-alldrv|default-alldrv:no-distcheck|default-all-errors|default-sp CONFIG_OPTS+=("--with-cgi=auto") fi else - CONFIG_OPTS+=("--with-cgi=auto") + if [ "${CANBUILD_LIBGD_CGI-}" = "no" ] ; then + CONFIG_OPTS+=("--without-cgi") + else + CONFIG_OPTS+=("--with-cgi=auto") + fi fi ;; "default-alldrv:no-distcheck")