build: fix add-on loading on freebsd
authorBen Noordhuis <info@bnoordhuis.nl>
Thu, 12 Jul 2012 23:43:14 +0000 (01:43 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Thu, 12 Jul 2012 23:57:00 +0000 (01:57 +0200)
commitacbfc408880a12c32ccc9d69bca91aad4e93e879
tree465da2c578302af4647a8d9e80992ba9a903842d
parent713b9249e1e7cbc028e7e4f29ef7dd6a68e03375
build: fix add-on loading on freebsd

Link with -Wl,--export-dynamic, makes symbols from the node binary visible to
binary add-ons.

Fixes "undefined symbol: _ZN2v811HandleScopeC1Ev" errors when loading add-ons
on FreeBSD and likely other BSDs.

Fixes #3623.
node.gyp