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"],
|
"cflags+": ["-Wno-cast-function-type"],
|
||||||
"include_dirs+": ["<!(node -e \"require('nan')\")"],
|
"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"],
|
"dependencies": ["libargon2"],
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"Debug": {
|
"Debug": {
|
||||||
|
@ -24,9 +24,9 @@ LICENSE='GPLv3'
|
|||||||
|
|
||||||
BINDINGGYP='node_modules/argon2/binding.gyp'
|
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"
|
echo "You must install libstdc++-static"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@ -75,7 +75,7 @@ if [ $? -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
popd
|
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
|
popd
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ztncui",
|
"name": "ztncui",
|
||||||
"version": "0.7.2",
|
"version": "0.8.4",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./bin/www",
|
"start": "node ./bin/www",
|
||||||
|
Loading…
Reference in New Issue
Block a user