forked from creationix/node-gir
-
Notifications
You must be signed in to change notification settings - Fork 4
/
binding.gyp
35 lines (35 loc) · 1.13 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
{
'targets': [
{
'target_name': 'girepository',
'sources': [
'src/init.cc',
'src/util.cc',
'src/namespace_loader.cc',
'src/arguments.cc',
'src/function.cc',
'src/values.cc',
'src/types/object.cc',
'src/types/struct.cc',
'src/types/type_function.cc'
],
'conditions': [
['OS=="linux"',
{
'libraries': [
'<!@(pkg-config --libs glib-2.0 gobject-introspection-1.0)'
],
'cflags': [
'<!@(pkg-config --cflags glib-2.0 gobject-introspection-1.0)',
'-D_FILE_OFFSET_BITS=64',
'-D_LARGEFILE_SOURCE'
],
'ldflags': [
'<!@(pkg-config --libs glib-2.0 gobject-introspection-1.0)'
]
}
]
]
}
]
}