]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
build: add tool_hugehelp.c into IBMi build
authorandrewkirillov-ibm <akirillo@uk.ibm.com>
Thu, 6 Feb 2025 12:58:52 +0000 (12:58 +0000)
committerViktor Szakats <commit@vsz.me>
Thu, 6 Feb 2025 13:53:36 +0000 (14:53 +0100)
As `tool_hugehelp.c` is no longer included into `Makefile.inc`,
I did add it explicitly to list of source files built on IBMi.

Follow-up to 96843f4ef74e02452972fd97fe15d8ff656f46ec #16068
Fixes #16214
Closes #16215

packages/OS400/make-src.sh

index 21fd0015b464fef8ebb480ac32c1b97a110e2e84..788910aa062931fbb657bdae054eb4626154a109 100755 (executable)
@@ -47,6 +47,13 @@ fi
 get_make_vars Makefile.inc
 
 
+#       Add hugehelp, as it is not included in Makefile.inc.
+if [ "${USE_MANUAL}" = "'USE_MANUAL'" ]
+then
+        CURL_CFILES="${CURL_CFILES} tool_hugehelp.c"
+        CURL_HFILES="${CURL_HFILES} tool_hugehelp.h"
+fi
+
 #       Compile the sources into modules.
 
 # shellcheck disable=SC2034
@@ -55,6 +62,7 @@ MODULES=
 # shellcheck disable=SC2034
 INCLUDES="'${TOPDIR}/lib'"
 
+# shellcheck disable=SC2153
 for SRC in ${CURLX_CFILES}
 do      MODULE=$(db2_name "${SRC}")
         MODULE=$(db2_name "X${MODULE}")