mirror of
https://github.com/key-networks/ztncui.git
synced 2025-04-21 11:56:55 +02:00
node16: Builds on node v16.13.1
This commit is contained in:
parent
f76ba8b6a8
commit
8fc7499a11
3 changed files with 5 additions and 5 deletions
|
@ -4,7 +4,7 @@
|
|||
],
|
||||
"cflags+": ["-Wno-cast-function-type"],
|
||||
"include_dirs+": ["<!(node -e \"require('nan')\")"],
|
||||
+ "libraries": ["/usr/lib/gcc/x86_64-redhat-linux/10/libstdc++.a"],
|
||||
+ "libraries": ["/usr/lib/gcc/x86_64-redhat-linux/11/libstdc++.a"],
|
||||
"dependencies": ["libargon2"],
|
||||
"configurations": {
|
||||
"Debug": {
|
||||
|
|
|
@ -24,9 +24,9 @@ LICENSE='GPLv3'
|
|||
|
||||
BINDINGGYP='node_modules/argon2/binding.gyp'
|
||||
|
||||
NODE_VER='v14'
|
||||
NODE_VER='v16'
|
||||
|
||||
if [ ! -f /usr/lib/gcc/x86_64-redhat-linux/10/libstdc++.a ]; then
|
||||
if [ ! -f /usr/lib/gcc/x86_64-redhat-linux/11/libstdc++.a ]; then
|
||||
echo "You must install libstdc++-static"
|
||||
exit 1
|
||||
fi
|
||||
|
@ -75,7 +75,7 @@ if [ $? -ne 0 ]; then
|
|||
fi
|
||||
|
||||
popd
|
||||
pkg -c ./package.json -t node14-linux-x64 bin/www -o $BUILD_DIR/ztncui
|
||||
pkg -c ./package.json -t node16-linux-x64 bin/www -o $BUILD_DIR/ztncui
|
||||
|
||||
popd
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ztncui",
|
||||
"version": "0.7.2",
|
||||
"version": "0.8.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node ./bin/www",
|
||||
|
|
Loading…
Add table
Reference in a new issue