This repository has been archived by the owner on Apr 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
/
binding.gyp
61 lines (58 loc) · 1.66 KB
/
binding.gyp
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"targets": [
{
"target_name": "equihashverify",
"dependencies": [
],
"sources": [
"support/cleanse.cpp",
"uint256.cpp",
"arith_uint256.cpp",
"random.cpp",
"util.cpp",
"utilstrencodings.cpp",
"crypto/equihash.cpp",
"crypto/hmac_sha256.cpp",
"crypto/hmac_sha512.cpp",
"crypto/ripemd160.cpp",
"crypto/sha1.cpp",
"crypto/sha256.cpp",
"crypto/sha512.cpp",
"equihashverify.cc"
],
"include_dirs": [
"<!(node -e \"require('nan')\")",
".",
"/usr/include",
"/usr/include/boost",
],
"libararies": [
"/usr/lib/x86_64-linux-gnu"
],
"defines": [
"HAVE_DECL_STRNLEN=1",
"HAVE_BYTESWAP_H=1"
],
"cflags_cc": [
"-std=c++11",
"-Wl,--whole-archive",
"-fPIC",
"-fexceptions"
],
"link_settings": {
"libraries": [
"-Wl,-rpath,./build/Release/",
"-lboost_system",
"-lsodium"
]
},
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
}
}]
]
}
]
}