alma: Prepare for build on AlmaLinux 8 (#105)

This commit is contained in:
key-networks 2023-03-08 19:32:23 +08:00 committed by GitHub
parent 794f846125
commit 0557b386a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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/11/libstdc++.a"], + "libraries": ["/usr/lib/gcc/x86_64-redhat-linux/8/libstdc++fs.a"],
"dependencies": ["libargon2"], "dependencies": ["libargon2"],
"configurations": { "configurations": {
"Debug": { "Debug": {

View File

@ -26,7 +26,7 @@ BINDINGGYP='node_modules/argon2/binding.gyp'
NODE_VER='v16' 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++fs.a ]; then
echo "You must install libstdc++-static" echo "You must install libstdc++-static"
exit 1 exit 1
fi fi

View File

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