-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbinding.gyp
More file actions
36 lines (35 loc) · 1018 Bytes
/
binding.gyp
File metadata and controls
36 lines (35 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
'variables': {
# node v0.6.x doesn't give us its build variables,
# but on Unix it was only possible to use the system OpenSSL library,
# so default the variable to "true", v0.8.x node and up will overwrite it.
'node_shared_openssl%': 'true'
},
"targets": [{
"target_name": "binding",
"sources": [ "/usr/local/bin/node" ],
"conditions": [
[
"target_arch=='ia32'", {
"variables": {
"openssl_config_path": "/private/etc/ssl/openssl.cnf"
}
}
],
[
"target_arch=='x64'", {
"variables": {
"openssl_config_path": "/private/etc/ssl/openssl.cnf"
},
}
],
[
"target_arch=='arm'", {
"variables": {
"openssl_config_path": "/private/etc/ssl/openssl.cnf"
}
}
],
]
}]
}