aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2009-10-23 15:05:45 +0000
committerPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2009-10-23 15:05:45 +0000
commit7531ac89d6209417a86a841d0002b1e177996cb2 (patch)
tree5e6fe38c09b3b477dc502033945c90a658d8dda5 /packages
parent72acffc66ceda84e3e518564d6bf66dae36ccb72 (diff)
OS400 install: Duplicate H include file to file CURL to support more include path forms.
Diffstat (limited to 'packages')
-rw-r--r--packages/OS400/make-include.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/OS400/make-include.sh b/packages/OS400/make-include.sh
index e216eb313..e4bc31d81 100644
--- a/packages/OS400/make-include.sh
+++ b/packages/OS400/make-include.sh
@@ -65,3 +65,15 @@ done
# Copy the ILE/RPG include file, setting-up version number.
versioned_copy "${SCRIPTDIR}/curl.inc.in" "${SRCPF}/CURL.INC.MBR"
+
+
+# Duplicate file H as CURL to support more include path forms.
+
+if action_needed "${LIBIFSNAME}/CURL.FILE"
+then :
+else system "DLTF FILE(${TARGETLIB}/CURL)"
+fi
+
+CMD="CRTDUPOBJ OBJ(H) FROMLIB(${TARGETLIB}) OBJTYPE(*FILE) TOLIB(*FROMLIB)"
+CMD="${CMD} NEWOBJ(CURL) DATA(*YES)"
+system "${CMD}"