summaryrefslogtreecommitdiff
path: root/node/binding.gyp
blob: af7afc26a271eca5fd4acc1df7890d9fd8ed4675 (plain)
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
{
  'targets': [
    {
      'target_name' : 'ejdb_native',
      'sources' : [
            'ejdb_native.cc',
            'ejdb_logging.cc'
       ],
      'include_dirs': ['../tcejdb'],
      'libraries' : [
            '-L../../tcejdb',
            '-Wl,-Bstatic -ltcejdb',
            '-Wl,-Bdynamic',
            '-lbz2 -lz -lrt -lpthread -lm -lc'
      ],
      'cflags': [
            '-g',
            '-O0',
            '-fPIC',
            '-D_GNU_SOURCE',
            '-D_FILE_OFFSET_BITS=64',
            '-D_LARGEFILE_SOURCE'
       ],
       'cflags!': [ '-fno-exceptions' ],
       'cflags_cc!': [ '-fno-exceptions' ]
    }
  ]
}