summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorMike Fulton <mikefultonpersonal@gmail.com>2021-12-31 15:24:34 -0800
committerKarl Williamson <khw@cpan.org>2022-01-01 14:05:23 -0700
commit979158253287183a813b94e89a988df99e6db713 (patch)
tree2e34e958f82b159bf1ee7a01dbcad04fbbb73a14 /Makefile.SH
parent65160686e71d77197cca29fd6f33846c9396eb45 (diff)
downloadperl-979158253287183a813b94e89a988df99e6db713.tar.gz
Fix problem in makefile for z/OS 64-bit builds
This change fixes a bug where the value of _use64bitall_ was expected to be nothing or something, but in fact, the proper test is for ``define|true|[yY]*``.
Diffstat (limited to 'Makefile.SH')
-rwxr-xr-xMakefile.SH8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 95d140b40c..2e97abf8b6 100755
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -119,10 +119,10 @@ true)
;;
os390*)
case "$use64bitall" in
- '') shrpldflags='-Wl,XPLINK,dll'
- linklibperl='libperl.x'
- ;;
- *) shrpldflags='-Wl,LP64,dll'
+ define|true|[yY]*) shrpldflags='-Wl,LP64,dll'
+ linklibperl='libperl.x'
+ ;;
+ *) shrpldflags='-Wl,XPLINK,dll'
linklibperl='libperl.x'
;;
esac