summaryrefslogtreecommitdiff
path: root/platform/node
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-04-20 16:40:17 +0300
committerKonstantin Käfer <mail@kkaefer.com>2018-05-22 11:17:01 +0200
commitd1a266b3e68d052d1478382795598bf2ff28da6a (patch)
treed303f378e1c959397b23739fbb9b06697da024e5 /platform/node
parent973aa963f917df2c20a05dfea1b3af7314677e06 (diff)
downloadqtlocation-mapboxgl-d1a266b3e68d052d1478382795598bf2ff28da6a.tar.gz
[node] allow building all ABIs at once
Diffstat (limited to 'platform/node')
-rw-r--r--platform/node/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/node/index.js b/platform/node/index.js
index 5944a0a27d..6f6b33058a 100644
--- a/platform/node/index.js
+++ b/platform/node/index.js
@@ -2,9 +2,8 @@
// Shim to wrap req.respond while preserving callback-passing API
-var mbgl = require('../../lib/mapbox_gl_native.node');
+var mbgl = require('../../lib/mbgl-node.abi-' + process.versions.modules);
var constructor = mbgl.Map.prototype.constructor;
-var process = require('process');
var Map = function(options) {
if (!(options instanceof Object)) {