Skip to content

Commit 5680ac6

Browse files
authored
Merge pull request #1 from PruvoNet/fix-build
fix: build dependencies
2 parents 78e559b + df42412 commit 5680ac6

4 files changed

Lines changed: 2382 additions & 785 deletions

File tree

lib/node-expat.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
'use strict'
22

33
const util = require('util')
4-
const expat = require('bindings')('node_expat')
4+
const path = require('path')
5+
const expat = require(path.join(__dirname, '..', 'build', 'Release', 'node_expat.node'))
56
const Stream = require('stream').Stream
67

78
const Parser = function (encoding) {

0 commit comments

Comments
 (0)