build: set -blibpath:
for AIX
https://github.com/nodejs/node/pull/17604 refactored the gyp files so that `-blibpath:` on AIX was only set if `node_shared=="true"`. Restore the setting for non-shared builds. Fixes: https://github.com/nodejs/node/issues/25444 PR-URL: https://github.com/nodejs/node/pull/25447 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
parent
0e1cf1eb1a
commit
bd8d682e21
22
common.gypi
22
common.gypi
@ -148,6 +148,17 @@
|
||||
'cflags': [ '-gxcoff' ],
|
||||
'ldflags': [ '-Wl,-bbigtoc' ],
|
||||
'conditions': [
|
||||
['target_arch=="ppc64"', {
|
||||
'ldflags': [
|
||||
'-Wl,-blibpath:/usr/lib:/lib:'
|
||||
'/opt/freeware/lib/pthread/ppc64'
|
||||
],
|
||||
}],
|
||||
['target_arch=="ppc"', {
|
||||
'ldflags': [
|
||||
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread'
|
||||
],
|
||||
}],
|
||||
['"<(real_os_name)"=="OS400"', {
|
||||
'ldflags': [
|
||||
'-Wl,-blibpath:/QOpenSys/pkgs/lib:/QOpenSys/usr/lib',
|
||||
@ -460,11 +471,18 @@
|
||||
'variables': {'real_os_name': '<!(uname -s)',},
|
||||
'conditions': [
|
||||
[ 'target_arch=="ppc"', {
|
||||
'ldflags': [ '-Wl,-bmaxdata:0x60000000/dsa' ],
|
||||
'ldflags': [
|
||||
'-Wl,-bmaxdata:0x60000000/dsa',
|
||||
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread',
|
||||
],
|
||||
}],
|
||||
[ 'target_arch=="ppc64"', {
|
||||
'cflags': [ '-maix64' ],
|
||||
'ldflags': [ '-maix64' ],
|
||||
'ldflags': [
|
||||
'-maix64',
|
||||
'-Wl,-blibpath:/usr/lib:/lib:'
|
||||
'/opt/freeware/lib/pthread/ppc64',
|
||||
],
|
||||
}],
|
||||
['"<(real_os_name)"=="OS400"', {
|
||||
'ldflags': [
|
||||
|
Loading…
x
Reference in New Issue
Block a user