Skip to content
This repository
Newer
Older
100644 43 lines (42 sloc) 1.061 kb
44b10377 »
2012-03-13 build: add a binding.gyp file
1 {
2 'targets': [
3 {
4 'target_name': 'bcrypt_lib',
5 'sources': [
6 'src/blowfish.cc',
7 'src/bcrypt.cc',
8 'src/bcrypt_node.cc'
0357a0e9 »
2012-08-03 Windows compatibility
9 ],
10 'conditions': [
11 [ 'OS=="win"', {
4a4f0dd2 »
2012-09-02 binding: use a good default when building a 64-bit version on Windows
12 'conditions': [
13 # "openssl_root" is the directory on Windows of the OpenSSL files
14 ['target_arch=="x64"', {
15 'variables': {
16 'openssl_root%': 'C:/OpenSSL-Win64'
17 },
18 }, {
19 'variables': {
20 'openssl_root%': 'C:/OpenSSL-Win32'
21 },
22 }],
23 ],
0357a0e9 »
2012-08-03 Windows compatibility
24 'defines': [
25 'uint=unsigned int',
26 ],
27 'libraries': [
4a4f0dd2 »
2012-09-02 binding: use a good default when building a 64-bit version on Windows
28 '-l<(openssl_root)/lib/libeay32.lib',
0357a0e9 »
2012-08-03 Windows compatibility
29 ],
30 'include_dirs': [
4a4f0dd2 »
2012-09-02 binding: use a good default when building a 64-bit version on Windows
31 '<(openssl_root)/include',
0357a0e9 »
2012-08-03 Windows compatibility
32 ],
35aee9cc »
2012-09-02 binding: a little cleanup
33 }, { # OS!="win"
9138f34f »
2012-08-28 build: don't include the node bundled OpenSSL headers on Windows
34 'include_dirs': [
35aee9cc »
2012-09-02 binding: a little cleanup
35 # use node's bundled openssl headers on Unix platforms
9138f34f »
2012-08-28 build: don't include the node bundled OpenSSL headers on Windows
36 '<(node_root_dir)/deps/openssl/openssl/include'
37 ],
0357a0e9 »
2012-08-03 Windows compatibility
38 }],
39 ],
44b10377 »
2012-03-13 build: add a binding.gyp file
40 }
41 ]
42 }
Something went wrong with that request. Please try again.