mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
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>
This commit is contained in:
parent
655b070d31
commit
a3211e18b4
17 changed files with 59 additions and 36 deletions
|
@ -156,7 +156,7 @@
|
|||
},
|
||||
},
|
||||
'conditions': [
|
||||
['OS!="aix" and OS!="ios" and node_shared=="false"', {
|
||||
['OS!="aix" and OS!="os400" and OS!="ios" and node_shared=="false"', {
|
||||
'ldflags': [
|
||||
'-Wl,--whole-archive',
|
||||
'<(obj_dir)/deps/zlib/<(STATIC_LIB_PREFIX)zlib<(STATIC_LIB_SUFFIX)',
|
||||
|
@ -195,7 +195,7 @@
|
|||
},
|
||||
},
|
||||
'conditions': [
|
||||
['OS!="aix" and OS!="ios" and node_shared=="false"', {
|
||||
['OS!="aix" and OS!="os400" and OS!="ios" and node_shared=="false"', {
|
||||
'ldflags': [
|
||||
'-Wl,--whole-archive',
|
||||
'<(obj_dir)/deps/uv/<(STATIC_LIB_PREFIX)uv<(STATIC_LIB_SUFFIX)',
|
||||
|
@ -233,7 +233,7 @@
|
|||
'-lkvm',
|
||||
],
|
||||
}],
|
||||
[ 'OS=="aix"', {
|
||||
[ 'OS in "aix os400"', {
|
||||
'defines': [
|
||||
'_LINUX_SOURCE_COMPAT',
|
||||
'__STDC_FORMAT_MACROS',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue