node16: Builds on node v16.13.1 (#79)
* node16: Builds on node v16.13.1 * node16: Builds on CentOS 8
This commit is contained in:
parent
f76ba8b6a8
commit
d05963695b
@ -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/8/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/8/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.4",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node ./bin/www",
|
||||
|
Loading…
Reference in New Issue
Block a user