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', + ], }] ], }