summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick.monnerat@dh.com>2016-08-02 14:21:31 +0200
committerPatrick Monnerat <patrick.monnerat@dh.com>2016-08-02 14:21:31 +0200
commita0c2ab93700069a03fad0115442bad9a3ca996fe (patch)
tree6d2434c506b819ce7359a83ec3dca7cd9e0b93bb /packages
parent2136a6a8924000fb82e23b00c6365db4310574ee (diff)
downloadcurl-a0c2ab93700069a03fad0115442bad9a3ca996fe.tar.gz
os400: define BUILDING_LIBCURL in make script.
Diffstat (limited to 'packages')
-rw-r--r--packages/OS400/initscript.sh2
-rw-r--r--packages/OS400/make-lib.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/OS400/initscript.sh b/packages/OS400/initscript.sh
index 3240fc7b0..a13d651bc 100644
--- a/packages/OS400/initscript.sh
+++ b/packages/OS400/initscript.sh
@@ -207,7 +207,7 @@ make_module()
CMD="${CMD} OPTIMIZE(${OPTIMIZE})"
CMD="${CMD} DBGVIEW(${DEBUG})"
- DEFINES="${3}"
+ DEFINES="${3} BUILDING_LIBCURL"
if [ "${WITH_ZLIB}" != "0" ]
then DEFINES="${DEFINES} HAVE_LIBZ HAVE_ZLIB_H"
diff --git a/packages/OS400/make-lib.sh b/packages/OS400/make-lib.sh
index 526ec0359..410bef05b 100644
--- a/packages/OS400/make-lib.sh
+++ b/packages/OS400/make-lib.sh
@@ -20,7 +20,7 @@ fi
echo '#pragma comment(user, "libcurl version '"${LIBCURL_VERSION}"'")' > os400.c
echo '#pragma comment(user, __DATE__)' >> os400.c
echo '#pragma comment(user, __TIME__)' >> os400.c
-echo '#pragma comment(copyright, "Copyright (C) 1998-2014 Daniel Stenberg et al. OS/400 version by P. Monnerat")' >> os400.c
+echo '#pragma comment(copyright, "Copyright (C) 1998-2016 Daniel Stenberg et al. OS/400 version by P. Monnerat")' >> os400.c
make_module OS400 os400.c
LINK= # No need to rebuild service program yet.
MODULES=