0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-21 21:19:50 +01:00

gyp: use --export-dynamic on FreeBSD

Should help addons use OpenSSL functions.

Reviewed-By: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
Fedor Indutny 2014-08-25 02:19:15 +04:00
parent ada85d7307
commit f39e608c6e

View File

@ -235,6 +235,11 @@
}],
['OS=="freebsd" and node_use_dtrace=="true"', {
'libraries': [ '-lelf' ],
}],
['OS=="freebsd"', {
'ldflags': [
'-Wl,--export-dynamic',
],
}]
],
}