Skip to content

Commit e407478

Browse files
Stewart X Addisongibfahn
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 79117b9 commit e407478

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎node.gyp‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,16 @@
958958
}, {
959959
'type': 'executable',
960960
}],
961+
['target_arch=="ppc64"', {
962+
'ldflags': [
963+
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread/ppc64'
964+
],
965+
}],
966+
['target_arch=="ppc"', {
967+
'ldflags': [
968+
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread'
969+
],
970+
}]
961971
],
962972
'dependencies': ['<(node_core_target_name)', 'node_exp'],
963973

0 commit comments

Comments
 (0)