From f39e608c6eb11c91839ea4661caece1f89f1b12f Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Mon, 25 Aug 2014 02:19:15 +0400 Subject: [PATCH] gyp: use --export-dynamic on FreeBSD Should help addons use OpenSSL functions. Reviewed-By: Fedor Indutny --- common.gypi | 5 +++++ 1 file changed, 5 insertions(+) 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', + ], }] ], }