-
Notifications
You must be signed in to change notification settings - Fork 23
/
binding.gyp
55 lines (54 loc) · 1.29 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
{
"targets": [
{
"target_name": "equihashverify",
"dependencies": [
"libequi",
],
"sources": [
"equihashverify.cc",
],
"include_dirs": [
"<!(node -e \"require('nan')\")"
],
"defines": [
],
"cflags_cc": [
"-std=c++11",
"-Wl,--whole-archive",
"-fPIC",
],
"link_settings": {
"libraries": [
"-Wl,-rpath,./build/Release/",
]
},
},
{
"target_name": "libequi",
"type": "<(library)",
"dependencies": [
],
"sources": [
"src/equi/equi.c",
"src/equi/endian.c"
],
"include_dirs": [
],
"defines": [
],
"cflags_c": [
"-std=c11",
"-Wl,--whole-archive",
"-fPIC",
"-Wno-pointer-sign",
"-D_GNU_SOURCE"
],
"link_settings": {
"libraries": [
"-lsodium"
],
},
}
]
}