[node] allow building all ABIs at once
This commit is contained in:
@@ -154,7 +154,5 @@ macro(mbgl_platform_benchmark)
|
||||
endmacro()
|
||||
|
||||
macro(mbgl_platform_node)
|
||||
target_link_libraries(mbgl-node
|
||||
PRIVATE "-Wl,-bind_at_load"
|
||||
)
|
||||
# Define macro to enable this target on this platform
|
||||
endmacro()
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user