build,v8: support IBM i
Some libraries do not exist on IBM i (OS400). Commit 417c18e introduces these missing libraries. Need to differentiate `AIX` and `OS400`(IBM i). PR-URL: https://github.com/nodejs/node/pull/28607 Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
parent
ebe92611fc
commit
d0b0230e7d
@ -2536,10 +2536,16 @@
|
||||
},
|
||||
}],
|
||||
['OS=="aix"', {
|
||||
'variables': {
|
||||
# Used to differentiate `AIX` and `OS400`(IBM i).
|
||||
'aix_variant_name': '<!(uname -s)',
|
||||
},
|
||||
'sources': [
|
||||
'<(V8_ROOT)/src/base/debug/stack_trace_posix.cc',
|
||||
'<(V8_ROOT)/src/base/platform/platform-aix.cc',
|
||||
],
|
||||
'conditions': [
|
||||
[ '"<(aix_variant_name)"=="AIX"', { # It is `AIX`
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'-ldl',
|
||||
@ -2547,6 +2553,8 @@
|
||||
],
|
||||
},
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['is_android', {
|
||||
'sources': [
|
||||
'<(V8_ROOT)/src/base/debug/stack_trace_android.cc',
|
||||
|
Loading…
x
Reference in New Issue
Block a user