Skip to content

Commit 024a4bf

Browse files
author
Stewart X Addison
committed
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.
1 parent 4fffe32 commit 024a4bf

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
@@ -936,6 +936,16 @@
936936
}, {
937937
'type': 'executable',
938938
}],
939+
['target_arch=="ppc64"', {
940+
'ldflags': [
941+
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread/ppc64'
942+
],
943+
}],
944+
['target_arch=="ppc"', {
945+
'ldflags': [
946+
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread'
947+
],
948+
}]
939949
],
940950
'dependencies': ['<(node_core_target_name)', 'node_exp'],
941951

0 commit comments

Comments
 (0)