-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbinding.gyp
More file actions
33 lines (33 loc) · 1.01 KB
/
binding.gyp
File metadata and controls
33 lines (33 loc) · 1.01 KB
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
{
'targets': [{
'target_name': 'vips',
'sources': [
'src/node-vips.cc',
'src/transform.cc'
],
'conditions': [
['OS=="mac"', {
'libraries': [
'<!@(PKG_CONFIG_PATH=/usr/local/Library/ENV/pkgconfig/10.8 pkg-config --libs glib-2.0 vips exiv2)',
],
'include_dirs': [
'/usr/local/include/glib-2.0',
'/usr/local/include/vips',
'/usr/local/include/exiv2',
'/usr/local/lib/glib-2.0/include'
]
}, {
'libraries': [
'<!@(PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" pkg-config --libs glib-2.0 vips exiv2)'
],
'include_dirs': [
'/usr/include/glib-2.0',
'/usr/lib/glib-2.0/include',
'/usr/lib/x86_64-linux-gnu/glib-2.0/include'
],
}]
],
'cflags': [ '-fexceptions' ],
'cflags_cc': [ '-fexceptions' ]
}]
}