diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/OS400/make-include.sh | 12 |
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}" |