summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorStewart X Addison <sxa@uk.ibm.com>2016-12-13 19:49:00 +0000
committerMyles Borins <mylesborins@google.com>2017-01-31 17:07:49 -0500
commit9e763503729450126e6c8c83eacefba7bb955c8e (patch)
tree85b469f0aadb9c8c1e866782e1d5166d77d18eee /node.gyp
parent683b0600508a75b7156d52ced0fb8cd347b1e578 (diff)
downloadnode-new-9e763503729450126e6c8c83eacefba7bb955c8e.tar.gz
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: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp10
1 files changed, 10 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 23a71cc96b..e23ce40758 100644
--- a/node.gyp
+++ b/node.gyp
@@ -935,6 +935,16 @@
}, {
'type': 'executable',
}],
+ ['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'
+ ],
+ }]
],
'dependencies': ['<(node_core_target_name)', 'node_exp'],