forked from wolfSSL/wolfcrypt_nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
27 lines (27 loc) · 830 Bytes
/
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
{
"targets": [{
"target_name": "wolfcrypt",
"cflags!": [ "-fno-exceptions" ],
"cflags_cc!": [ "-fno-exceptions" ],
"sources": [
"addon/wolfcrypt/main.cpp",
"addon/wolfcrypt/evp.cpp",
"addon/wolfcrypt/hmac.cpp",
"addon/wolfcrypt/rsa.cpp",
"addon/wolfcrypt/sha.cpp",
"addon/wolfcrypt/ecc.cpp",
"addon/wolfcrypt/pbkdf2.cpp",
"addon/wolfcrypt/pkcs7.cpp"
],
'include_dirs': [
"<!@(node -p \"require('node-addon-api').include\")"
],
'libraries': [
"/usr/local/lib/libwolfssl.so.34"
],
'dependencies': [
"<!(node -p \"require('node-addon-api').gyp\")"
],
'defines': [ 'NAPI_DISABLE_C_EXCEPTIONS' ]
}]
}