Skip to content

Commit 7bb70b5

Browse files
richardlaualexfernandez
authored andcommitted
build: fix IBM i build with Python 3.9
Python 3.9 on IBM i returns "os400" for `sys.platform`. PR-URL: nodejs#48056 Refs: nodejs#46739 Refs: nodejs/build#3358 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 1876cc1 commit 7bb70b5

10 files changed

+10
-10
lines changed

deps/openssl/openssl-cl_asm.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
'conditions': [
3-
['target_arch=="ppc64" and OS=="aix"', {
3+
['target_arch=="ppc64" and OS in ("aix", "os400")', {
44
'includes': ['config/archs/aix64-gcc-as/asm/openssl-cl.gypi'],
55
}, 'target_arch=="ppc64" and OS=="linux" and node_byteorder =="little"', {
66
'includes': ['config/archs/linux-ppc64le/asm/openssl-cl.gypi'],

deps/openssl/openssl-cl_asm_avx2.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
'conditions': [
3-
['target_arch=="ppc64" and OS=="aix"', {
3+
['target_arch=="ppc64" and OS in ("aix", "os400")', {
44
'includes': ['config/archs/aix64-gcc-as/asm_avx2/openssl-cl.gypi'],
55
}, 'target_arch=="ppc64" and OS=="linux" and node_byteorder =="little"', {
66
'includes': ['config/archs/linux-ppc64le/asm_avx2/openssl-cl.gypi'],

deps/openssl/openssl-cl_no_asm.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
'conditions': [
3-
['target_arch=="ppc64" and OS=="aix"', {
3+
['target_arch=="ppc64" and OS in ("aix", "os400")', {
44
'includes': ['config/archs/aix64-gcc-as/no-asm/openssl-cl.gypi'],
55
}, 'target_arch=="ppc64" and OS=="linux" and node_byteorder =="little"', {
66
'includes': ['config/archs/linux-ppc64le/no-asm/openssl-cl.gypi'],

deps/openssl/openssl-fips_asm.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
'conditions': [
3-
['target_arch=="ppc64" and OS=="aix"', {
3+
['target_arch=="ppc64" and OS in ("aix", "os400")', {
44
'includes': ['config/archs/aix64-gcc-as/asm/openssl-fips.gypi'],
55
}, 'target_arch=="ppc64" and OS=="linux" and node_byteorder =="little"', {
66
'includes': ['config/archs/linux-ppc64le/asm/openssl-fips.gypi'],

deps/openssl/openssl-fips_asm_avx2.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
'conditions': [
3-
['target_arch=="ppc64" and OS=="aix"', {
3+
['target_arch=="ppc64" and OS in ("aix", "os400")', {
44
'includes': ['config/archs/aix64-gcc-as/asm_avx2/openssl-fips.gypi'],
55
}, 'target_arch=="ppc64" and OS=="linux" and node_byteorder =="little"', {
66
'includes': ['config/archs/linux-ppc64le/asm_avx2/openssl-fips.gypi'],

deps/openssl/openssl-fips_no_asm.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
'defines': ['OPENSSL_NO_ASM'],
33
'conditions': [
4-
['target_arch=="ppc64" and OS=="aix"', {
4+
['target_arch=="ppc64" and OS in ("aix", "os400")', {
55
'includes': ['config/archs/aix64-gcc-as/no-asm/openssl-fips.gypi'],
66
}, 'target_arch=="ppc64" and OS=="linux" and node_byteorder =="little"', {
77
'includes': ['config/archs/linux-ppc64le/no-asm/openssl-fips.gypi'],

deps/openssl/openssl_asm.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
'conditions': [
3-
['target_arch=="ppc64" and OS=="aix"', {
3+
['target_arch=="ppc64" and OS in ("aix", "os400")', {
44
'includes': ['config/archs/aix64-gcc-as/asm/openssl.gypi'],
55
}, 'target_arch=="ppc64" and OS=="linux" and node_byteorder =="little"', {
66
'includes': ['config/archs/linux-ppc64le/asm/openssl.gypi'],

deps/openssl/openssl_asm_avx2.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
'conditions': [
3-
['target_arch=="ppc64" and OS=="aix"', {
3+
['target_arch=="ppc64" and OS in ("aix", "os400")', {
44
'includes': ['config/archs/aix64-gcc-as/asm_avx2/openssl.gypi'],
55
}, 'target_arch=="ppc64" and OS=="linux" and node_byteorder =="little"', {
66
'includes': ['config/archs/linux-ppc64le/asm_avx2/openssl.gypi'],

deps/openssl/openssl_common.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
# build options specific to OS
1515
'conditions': [
16-
[ 'OS=="aix"', {
16+
[ 'OS in ("aix", "os400")', {
1717
# AIX is missing /usr/include/endian.h
1818
'defines': [
1919
'__LITTLE_ENDIAN=1234',

deps/openssl/openssl_no_asm.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
'defines': ['OPENSSL_NO_ASM'],
33
'conditions': [
4-
['target_arch=="ppc64" and OS=="aix"', {
4+
['target_arch=="ppc64" and OS in ("aix", "os400")', {
55
'includes': ['config/archs/aix64-gcc-as/no-asm/openssl.gypi'],
66
}, 'target_arch=="ppc64" and OS=="linux" and node_byteorder =="little"', {
77
'includes': ['config/archs/linux-ppc64le/no-asm/openssl.gypi'],

0 commit comments

Comments
 (0)