forked from libxmljs/libxmljs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
37 lines (37 loc) · 942 Bytes
/
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
{
'targets': [
{
'target_name': 'xmljs',
'product_extension': 'node',
'type': 'shared_library',
'include_dirs': ["<!(node -e \"require('nan')\")"],
'sources': [
'src/libxmljs.cc',
'src/xml_attribute.cc',
'src/xml_document.cc',
'src/xml_element.cc',
'src/xml_comment.cc',
'src/xml_namespace.cc',
'src/xml_node.cc',
'src/xml_sax_parser.cc',
'src/xml_syntax_error.cc',
'src/xml_text.cc',
'src/xml_xpath_context.cc',
],
'dependencies': [
'./vendor/libxml/libxml.gyp:libxml'
],
'conditions': [
['OS=="mac"', {
# node-gyp 2.x doesn't add this anymore
# https://github.com/TooTallNate/node-gyp/pull/612
'xcode_settings': {
'OTHER_LDFLAGS': [
'-undefined dynamic_lookup'
],
},
}]
]
}
]
}