Skip to content

Commit 41bd029

Browse files
committed
Look for Node.js' OpenSSL headers, rather than system-wide ones.
1 parent 3210a78 commit 41bd029

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

binding.gyp

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,20 @@
22
'targets': [
33
{
44
'target_name': 'bignum',
5-
'sources': [ 'bignum.cc' ]
5+
'sources': [ 'bignum.cc' ],
6+
"conditions": [
7+
['target_arch=="ia32"', {
8+
'variables': {'openssl_config_path':
9+
'<(nodedir)/deps/openssl/config/piii'},
10+
}, {
11+
'variables': {'openssl_config_path':
12+
'<(nodedir)/deps/openssl/config/k8'},
13+
}]
14+
],
15+
"include_dirs": [
16+
"<(nodedir)/deps/openssl/openssl/include",
17+
"<(openssl_config_path)"
18+
]
619
}
720
]
821
}

0 commit comments

Comments
 (0)