forked from mongodb-js/kerberos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
41 lines (41 loc) · 1.12 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
{
'targets': [
{
'target_name': 'kerberos',
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ],
'conditions': [
['OS=="mac"', {
'sources': [ 'lib/kerberos.cc', 'lib/worker.cc', 'lib/kerberosgss.c', 'lib/base64.c', 'lib/kerberos_context.cc' ],
'defines': [
'__MACOSX_CORE__'
],
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
},
"link_settings": {
"libraries": [
"-lkrb5"
]
}
}],
['OS=="win"', {
'sources': [
'lib/win32/kerberos.cc',
'lib/win32/base64.c',
'lib/win32/worker.cc',
'lib/win32/kerberos_sspi.c',
'lib/win32/wrappers/security_buffer.cc',
'lib/win32/wrappers/security_buffer_descriptor.cc',
'lib/win32/wrappers/security_context.cc',
'lib/win32/wrappers/security_credentials.cc'
],
"link_settings": {
"libraries": [
]
}
}]
]
}
]
}