summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorXu Meng <mengxumx@cn.ibm.com>2023-02-22 12:18:56 +0800
committerGitHub <noreply@github.com>2023-02-22 04:18:56 +0000
commita3211e18b4586f88cbaa358912b9fd91274a44d9 (patch)
treee16936705172e16afeac8475d1f1e8615888accf /Makefile
parent655b070d31efeea2f5580ca221167f8abc43f0e8 (diff)
downloadnode-new-a3211e18b4586f88cbaa358912b9fd91274a44d9.tar.gz
build,test: add proper support for IBM i
Python 3.9 on IBM i now properly returns "os400" for sys.platform instead of claiming to be AIX as it did previously. While the IBM i PASE environment is compatible with AIX, it is a subset and has numerous differences which makes it beneficial to distinguish, however this means that it now needs explicit support here. PR-URL: https://github.com/nodejs/node/pull/46739 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 830413fdba..85849c01df 100644
--- a/Makefile
+++ b/Makefile
@@ -368,6 +368,9 @@ DOCBUILDSTAMP_PREREQS = tools/doc/addon-verify.mjs doc/api/addons.md
ifeq ($(OSTYPE),aix)
DOCBUILDSTAMP_PREREQS := $(DOCBUILDSTAMP_PREREQS) out/$(BUILDTYPE)/node.exp
endif
+ifeq ($(OSTYPE),os400)
+DOCBUILDSTAMP_PREREQS := $(DOCBUILDSTAMP_PREREQS) out/$(BUILDTYPE)/node.exp
+endif
node_use_openssl = $(call available-node,"-p" \
"process.versions.openssl != undefined")