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 5422142..31fe566 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', + ], }] ], } -- 2.7.4