node16: Builds on CentOS 8

This commit is contained in:
Key Networks 2021-12-19 19:27:16 +08:00
parent 8fc7499a11
commit 14b470987b
3 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@
],
"cflags+": ["-Wno-cast-function-type"],
"include_dirs+": ["<!(node -e \"require('nan')\")"],
+ "libraries": ["/usr/lib/gcc/x86_64-redhat-linux/11/libstdc++.a"],
+ "libraries": ["/usr/lib/gcc/x86_64-redhat-linux/8/libstdc++.a"],
"dependencies": ["libargon2"],
"configurations": {
"Debug": {

View file

@ -26,7 +26,7 @@ BINDINGGYP='node_modules/argon2/binding.gyp'
NODE_VER='v16'
if [ ! -f /usr/lib/gcc/x86_64-redhat-linux/11/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

View file

@ -1,6 +1,6 @@
{
"name": "ztncui",
"version": "0.8.1",
"version": "0.8.4",
"private": true,
"scripts": {
"start": "node ./bin/www",