-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathbinding.gyp
More file actions
26 lines (26 loc) · 725 Bytes
/
binding.gyp
File metadata and controls
26 lines (26 loc) · 725 Bytes
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
{
"targets": [
{
"target_name": "syslog_native",
"sources": [
"src/native/syslog.cpp"
],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")",
"<!@(node -p \"require('node-addon-api').include_dir\")"
],
"cflags!": ["-fno-exceptions"],
"cflags_cc!": ["-fno-exceptions"],
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
"conditions": [
["OS=='linux'", {
"cflags": ["-D_GNU_SOURCE"],
"cflags_cc": ["-D_GNU_SOURCE"]
}],
["target_arch!='ia32' and target_arch!='x64' and target_arch!='arm64' and target_arch!='arm'", {
"defines": ["OPENSSL_NO_ASM"]
}]
]
}
]
}