From 2f0d474df846730dae193f63e704e29237ad1a31 Mon Sep 17 00:00:00 2001 From: viferga Date: Wed, 27 Nov 2019 08:21:59 -0900 Subject: [PATCH] Change prefix from node port. --- source/ports/node_port/CMakeLists.txt | 2 +- source/ports/node_port/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/ports/node_port/CMakeLists.txt b/source/ports/node_port/CMakeLists.txt index 2c8d9054d..b4b6fea10 100644 --- a/source/ports/node_port/CMakeLists.txt +++ b/source/ports/node_port/CMakeLists.txt @@ -126,7 +126,7 @@ set_target_properties(${target} BUNDLE $<$:$<$>> # Set valid format for NodeJS addon - PREFIX "" SUFFIX ".node" + SUFFIX ".node" ) # diff --git a/source/ports/node_port/index.js b/source/ports/node_port/index.js index eb0aeb21a..6ec2c10ec 100644 --- a/source/ports/node_port/index.js +++ b/source/ports/node_port/index.js @@ -18,8 +18,8 @@ const addon = (() => { ]; const names = [ - 'node_portd', - 'node_port', + 'libnode_portd', + 'libnode_port', ]; /* Set NODE_PATH for finding metacall lib */