Skip to content

Commit 78010aa

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 <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent a9cd1d1 commit 78010aa

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
@@ -830,6 +830,16 @@
830830
}, {
831831
'type': 'executable',
832832
}],
833+
['target_arch=="ppc64"', {
834+
'ldflags': [
835+
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread/ppc64'
836+
],
837+
}],
838+
['target_arch=="ppc"', {
839+
'ldflags': [
840+
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread'
841+
],
842+
}]
833843
],
834844
'dependencies': ['<(node_core_target_name)', 'node_exp'],
835845

0 commit comments

Comments
 (0)