aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-10-23 10:17:26 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-10-23 10:17:26 -0700
commitafe4698cdbdf4654c2d056a60327b96df7d9a723 (patch)
tree05c63b6f629e42536677d2b95370aa3155329c37 /templates
parent6ffdb9494b0b52248afda4b8dc8b34759ee2358a (diff)
Compile statically against Node's OpenSSL headers
Diffstat (limited to 'templates')
-rw-r--r--templates/binding.gyp.template12
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/binding.gyp.template b/templates/binding.gyp.template
index 2be275b585..3faf05e9fe 100644
--- a/templates/binding.gyp.template
+++ b/templates/binding.gyp.template
@@ -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': [