From 668954bd0e7ba3d62600d20afca5252991df52c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Sat, 10 Apr 2021 17:47:45 -0400 Subject: [PATCH] nodejs: build for Node v14 Change-Id: Ia4e4bcaab538ddd9a5fd2c256e7f323c87b3108a --- bin/nodejs/Makefile.am | 2 +- bin/nodejs/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/nodejs/Makefile.am b/bin/nodejs/Makefile.am index 58f510cfa9..a555358737 100644 --- a/bin/nodejs/Makefile.am +++ b/bin/nodejs/Makefile.am @@ -9,7 +9,7 @@ jami_wrapper.cpp: nodejs_interface.i configurationmanager.i managerimpl.i $(SWIG) -v -c++ -javascript -node -o jami_wrapper.cpp nodejs_interface.i build/Makefile: jami_wrapper.cpp binding.gyp - node-gyp configure --target=v12.18.2 --arch=x64 + node-gyp configure --target=v14.16.1 --arch=x64 build/Release/obj.target/dring.node: build/Makefile jami_wrapper.cpp callback.h node-gyp build diff --git a/bin/nodejs/meson.build b/bin/nodejs/meson.build index 14b339c203..89def1d98d 100644 --- a/bin/nodejs/meson.build +++ b/bin/nodejs/meson.build @@ -5,7 +5,7 @@ nodejs_wrapper_target = custom_target('nodejs.wrapper', ) nodejs_makefile_target = custom_target('nodejs.makefile', - command: [prognodegyp, 'configure', '--target=v12.18.2', '--arch=x64'], + command: [prognodegyp, 'configure', '--target=v14.16.1', '--arch=x64'], output: 'build/Makefile', depends: nodejs_wrapper_target ) -- GitLab