Skip to content

Commit

Permalink
gyp: do not remove unused openssl syms on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Jul 30, 2014
1 parent 38f6fcd commit fd417e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@
# For tests
'./deps/openssl/openssl.gyp:openssl-cli',
],
# Do not let unused OpenSSL symbols to slip away
'xcode_settings': {
'OTHER_LDFLAGS': [
'-Wl,-force_load,<(PRODUCT_DIR)/libopenssl.a',
],
},
}]]
}, {
'defines': [ 'HAVE_OPENSSL=0' ]
Expand Down

0 comments on commit fd417e1

Please sign in to comment.