Compile statically against Node's OpenSSL headers

pull/3944/head
murgatroid99 9 years ago
parent 6ffdb9494b
commit afe4698cdb
  1. 12
      binding.gyp
  2. 12
      templates/binding.gyp.template

@ -54,7 +54,8 @@
],
'include_dirs': [
'.',
'include'
'include',
'<(node_root_dir)/deps/openssl/openssl/include'
],
'conditions': [
['OS != "win"', {
@ -73,6 +74,15 @@
]
]
}],
["target_arch=='ia32'", {
"include_dirs": [ "<(node_root_dir)/deps/openssl/config/piii" ]
}],
["target_arch=='x64'", {
"include_dirs": [ "<(node_root_dir)/deps/openssl/config/k8" ]
}],
["target_arch=='arm'", {
"include_dirs": [ "<(node_root_dir)/deps/openssl/config/arm" ]
}]
]
},
'targets': [

@ -56,7 +56,8 @@
],
'include_dirs': [
'.',
'include'
'include',
'<(node_root_dir)/deps/openssl/openssl/include'
],
'conditions': [
['OS != "win"', {
@ -75,6 +76,15 @@
]
]
}],
["target_arch=='ia32'", {
"include_dirs": [ "<(node_root_dir)/deps/openssl/config/piii" ]
}],
["target_arch=='x64'", {
"include_dirs": [ "<(node_root_dir)/deps/openssl/config/k8" ]
}],
["target_arch=='arm'", {
"include_dirs": [ "<(node_root_dir)/deps/openssl/config/arm" ]
}]
]
},
'targets': [

Loading…
Cancel
Save