summaryrefslogtreecommitdiff
path: root/src/node_util.cc
diff options
context:
space:
mode:
authorYihong Wang <yh.wang@ibm.com>2018-02-02 10:06:33 -0800
committerRuben Bridgewater <ruben@bridgewater.de>2018-02-16 17:30:16 +0100
commitec9e7922bb72ce17b453d345232a0e725883a470 (patch)
tree9a8784d93eb487fd813abd638c1ef2dc6a64db33 /src/node_util.cc
parent3e1e450f92f3a605bfad125d1f4288ccaa83d09b (diff)
downloadandroid-node-v8-ec9e7922bb72ce17b453d345232a0e725883a470.tar.gz
android-node-v8-ec9e7922bb72ce17b453d345232a0e725883a470.tar.bz2
android-node-v8-ec9e7922bb72ce17b453d345232a0e725883a470.zip
test: add lib path env when node_shared=true
When building the node with `--shared` option, the major output is the shared library. However, we still build a node executable which links to the shared lib. It's for testing purpose. When testing with the executable, some test cases move/copy the executable, change the relative path to the shared library and fail. Using lib path env would solve the issue. However, in macOS, need to change the install name for the shared library and use rpath in the executable. In AIX, `-brtl` linker option rebinds the symbols in the executable and addon modules could use them. Signed-off-by: Yihong Wang <yh.wang@ibm.com> PR-URL: https://github.com/nodejs/node/pull/18626 Refs: https://github.com/nodejs/node/issues/18535 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/node_util.cc')
0 files changed, 0 insertions, 0 deletions