Skip to content

Commit 9e76350

Browse files
Stewart X AddisonMylesBorins
authored andcommitted
build: add /opt/freeware/... to AIX library path
To ease the use of the AIX binaries, add /opt/freeware/lib/pthread{/ppc64} into the search path encoded into the library, so that any version the user has installed from the common download locations will work out of the box without having to explicitly set LIBPATH in their environment. PR-URL: #10128 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 683b060 commit 9e76350

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

node.gyp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -935,6 +935,16 @@
935935
}, {
936936
'type': 'executable',
937937
}],
938+
['target_arch=="ppc64"', {
939+
'ldflags': [
940+
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread/ppc64'
941+
],
942+
}],
943+
['target_arch=="ppc"', {
944+
'ldflags': [
945+
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread'
946+
],
947+
}]
938948
],
939949
'dependencies': ['<(node_core_target_name)', 'node_exp'],
940950

0 commit comments

Comments
 (0)