Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
gyp: use --export-dynamic on FreeBSD
Browse files Browse the repository at this point in the history
Should help addons use OpenSSL functions.

Reviewed-By: Fedor Indutny <fedor@indutny.com>
  • Loading branch information
indutny committed Aug 26, 2014
1 parent ada85d7 commit f39e608
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common.gypi
Expand Up @@ -235,6 +235,11 @@
}],
['OS=="freebsd" and node_use_dtrace=="true"', {
'libraries': [ '-lelf' ],
}],
['OS=="freebsd"', {
'ldflags': [
'-Wl,--export-dynamic',
],
}]
],
}
Expand Down

0 comments on commit f39e608

Please sign in to comment.