Skip to content

Commit

Permalink
Merge pull request #84 from lognaturel/node-16
Browse files Browse the repository at this point in the history
Make updates for compatibility with Node 14, 16
  • Loading branch information
albanm authored Jul 16, 2021
2 parents 353e849 + 6683b42 commit df39004
Show file tree
Hide file tree
Showing 5 changed files with 3,329 additions and 420 deletions.
6 changes: 3 additions & 3 deletions common.gypi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# imitation of this https://github.com/TooTallNate/node-vorbis/blob/master/common.gypi
{
'variables': {
'node_xmljs': '<!(node -p -e "require(\'path\').dirname(require.resolve(\'node1-libxmljsmt\'))")',
'node_xmljs': '<!(node -p -e "require(\'path\').dirname(require.resolve(\'node1-libxmljsmt-myh\'))")',
'xmljs_include_dirs': [
'<(node_xmljs)/src/',
'<(node_xmljs)/vendor/libxml/include',
Expand All @@ -10,11 +10,11 @@
'conditions': [
['OS=="win"', {
'xmljs_libraries': [
'<(node_xmljs)/build/$(Configuration)/xmljs.lib'
'<(node_xmljs)/build/$(Configuration)/xmljs-myh.lib'
],
}, {
'xmljs_libraries': [
'<(node_xmljs)/build/$(BUILDTYPE)/xmljs.node',
'<(node_xmljs)/build/$(BUILDTYPE)/xmljs-myh.node',
'-Wl,-rpath,<(node_xmljs)/build/$(BUILDTYPE)'
],
}],
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

var fs = require('fs');
var libxmljs = require('node1-libxmljsmt');
var libxmljs = require('node1-libxmljsmt-myh');
var binding = require('bindings')('node-libxslt');

binding.registerEXSLT();
Expand Down
Loading

0 comments on commit df39004

Please sign in to comment.