Blame nodejs-libxmljs-0.17.0-remove-bundled-libxml.patch
|
|
c20e204 |
commit cad94ff4a3566142a7a9d993db7adc5e3eb398e8
|
|
|
31151c8 |
Author: Tom Hughes <tom@compton.nu>
|
|
|
31151c8 |
Date: Thu Dec 3 00:06:52 2015 +0000
|
|
|
31151c8 |
|
|
|
31151c8 |
Remove dependency on bundled libxml2
|
|
|
31151c8 |
|
|
|
31151c8 |
diff --git a/binding.gyp b/binding.gyp
|
|
|
c20e204 |
index 6166361..b6f0efb 100644
|
|
|
571455c |
--- a/binding.gyp
|
|
|
571455c |
+++ b/binding.gyp
|
|
|
c20e204 |
@@ -18,18 +18,27 @@
|
|
|
c20e204 |
'src/xml_text.cc',
|
|
|
571455c |
'src/xml_xpath_context.cc',
|
|
|
571455c |
],
|
|
|
571455c |
- 'dependencies': [
|
|
|
571455c |
- './vendor/libxml/libxml.gyp:libxml'
|
|
|
31151c8 |
- ],
|
|
|
31151c8 |
'conditions': [
|
|
|
571455c |
+ ['OS=="win"', {
|
|
|
571455c |
+ # no Windows support yet...
|
|
|
571455c |
+ }, {
|
|
|
571455c |
+ 'libraries': [
|
|
|
571455c |
+ '
|
|
|
571455c |
+ ],
|
|
|
571455c |
+ }],
|
|
|
31151c8 |
['OS=="mac"', {
|
|
|
31151c8 |
# node-gyp 2.x doesn't add this anymore
|
|
|
31151c8 |
# https://github.com/TooTallNate/node-gyp/pull/612
|
|
|
31151c8 |
'xcode_settings': {
|
|
|
31151c8 |
'OTHER_LDFLAGS': [
|
|
|
31151c8 |
- '-undefined dynamic_lookup'
|
|
|
31151c8 |
+ '-undefined dynamic_lookup',
|
|
|
571455c |
+ '
|
|
|
31151c8 |
],
|
|
|
31151c8 |
},
|
|
|
571455c |
+ }, {
|
|
|
571455c |
+ 'cflags': [
|
|
|
571455c |
+ '
|
|
|
571455c |
+ ],
|
|
|
31151c8 |
}]
|
|
|
571455c |
]
|
|
|
571455c |
}
|