Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (45 sloc) 1.414 kb
69c9977 @dodo Revert "Set up `node-stringprep-icu` as optional dependency, update t…
dodo authored
1 {
2 'targets': [
3 {
4 'target_name': 'node_stringprep',
76e85f9 @dodo add weird binding.gyp which checks for icu-config
dodo authored
5 'cflags_cc!': [ '-fno-exceptions', '-fmax-errors=0' ],
69c9977 @dodo Revert "Set up `node-stringprep-icu` as optional dependency, update t…
dodo authored
6 'include_dirs': [
7 '<!(node -e "require(\'nan\')")'
8 ],
9 'conditions': [
76e85f9 @dodo add weird binding.gyp which checks for icu-config
dodo authored
10 ['OS=="win"', {
11 'conditions': [
12 ['"<!@(cmd /C where /Q icu-config || echo n)"!="n"', {
13 'sources': [ 'node-stringprep.cc' ],
14 'cflags!': [ '-fno-exceptions', '`icu-config --cppflags`' ],
15 'libraries': [ '`icu-config --ldflags`' ]
16 }]
17 ]
18 }, { # OS != win
19 'conditions': [
20 ['"<!@(which icu-config > /dev/null || echo n)"!="n"', {
21 'sources': [ 'node-stringprep.cc' ],
22 'cflags!': [ '-fno-exceptions', '-fmax-errors=0', '`icu-config --cppflags`' ],
a28d925 @lloydwatkin Revert change now debian bug is fixed
lloydwatkin authored
23 'libraries': [ '`icu-config --ldflags`' ],
76e85f9 @dodo add weird binding.gyp which checks for icu-config
dodo authored
24 'conditions': [
db3622d build on freebsd
Ashish SHUKLA authored
25 ['OS=="freebsd"', {
26 'include_dirs': [
27 '/usr/local/include'
28 ],
29 }],
76e85f9 @dodo add weird binding.gyp which checks for icu-config
dodo authored
30 ['OS=="mac"', {
31 'include_dirs': [
9924212 @tache Added additional include path to search within, supporting Mac OS bre…
tache authored
32 '/opt/local/include', '/usr/local/include'
76e85f9 @dodo add weird binding.gyp which checks for icu-config
dodo authored
33 ],
34 'xcode_settings': {
35 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
36 }
37 }]
38 ]
39 }]
40 ]
69c9977 @dodo Revert "Set up `node-stringprep-icu` as optional dependency, update t…
dodo authored
41 }]
42 ]
43 }
44 ]
45 }
Something went wrong with that request. Please try again.