summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorjBarz <jbarboza@ca.ibm.com>2017-09-08 05:19:29 -0400
committerRuben Bridgewater <ruben@bridgewater.de>2017-09-20 09:12:14 -0300
commitc5eb5bfc2e2cb659db1ce3c12f77ad8f8834d3d8 (patch)
tree1f52225ad5dbdbe135aade122bea63d793ed99fa /node.gyp
parent3070d53e31a09be5f8b121dc13d844d04a5541ee (diff)
downloadandroid-node-v8-c5eb5bfc2e2cb659db1ce3c12f77ad8f8834d3d8.tar.gz
android-node-v8-c5eb5bfc2e2cb659db1ce3c12f77ad8f8834d3d8.tar.bz2
android-node-v8-c5eb5bfc2e2cb659db1ce3c12f77ad8f8834d3d8.zip
build: enable runtime linking
Enable runtime linking of shared objects. This will allow loading of symbols using the RTLD_GLOBAL flag. PR-URL: https://github.com/nodejs/node/pull/15286 Fixes: https://github.com/nodejs/node/issues/15243 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.gyp b/node.gyp
index 39106ce346..911e3218aa 100644
--- a/node.gyp
+++ b/node.gyp
@@ -784,7 +784,7 @@
'common.gypi',
],
- 'ldflags': ['-Wl,-bE:<(PRODUCT_DIR)/node.exp'],
+ 'ldflags': ['-Wl,-bE:<(PRODUCT_DIR)/node.exp', '-Wl,-brtl'],
},
{
'target_name': 'node_exp',