summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2014-08-25 02:19:15 +0400
committerFedor Indutny <fedor@indutny.com>2014-08-27 00:20:10 +0400
commitf39e608c6eb11c91839ea4661caece1f89f1b12f (patch)
tree28b007e2f9664fd55233afe2033f960e775f6657 /common.gypi
parentada85d73070b9a565a4a475be919bfae0c95db43 (diff)
downloadandroid-node-v8-f39e608c6eb11c91839ea4661caece1f89f1b12f.tar.gz
android-node-v8-f39e608c6eb11c91839ea4661caece1f89f1b12f.tar.bz2
android-node-v8-f39e608c6eb11c91839ea4661caece1f89f1b12f.zip
gyp: use --export-dynamic on FreeBSD
Should help addons use OpenSSL functions. Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index 542214218a..31fe566993 100644
--- a/common.gypi
+++ b/common.gypi
@@ -235,6 +235,11 @@
}],
['OS=="freebsd" and node_use_dtrace=="true"', {
'libraries': [ '-lelf' ],
+ }],
+ ['OS=="freebsd"', {
+ 'ldflags': [
+ '-Wl,--export-dynamic',
+ ],
}]
],
}