Explicitly undefine OPENSSL_THREADS in binding.gyp

This commit is contained in:
murgatroid99 2019-05-02 11:06:29 -07:00
parent 919d111145
commit 32c18a4956
2 changed files with 6 additions and 0 deletions

View File

@ -93,6 +93,9 @@
'GRPC_UV',
'GRPC_NODE_VERSION="1.20.2"'
],
'defines!': [
'OPENSSL_THREADS'
],
'conditions': [
['grpc_gcov=="true"', {
'cflags': [

View File

@ -85,6 +85,9 @@
'GRPC_UV',
'GRPC_NODE_VERSION="${settings.get('node_version', settings.version)}"'
],
'defines!': [
'OPENSSL_THREADS'
],
'conditions': [
['grpc_gcov=="true"', {
% for arg, prop in [('CPPFLAGS', 'cflags'), ('DEFINES', 'defines'), ('LDFLAGS', 'ldflags')]: