centos7: Build on CentOs7
This commit is contained in:
parent
42248c1359
commit
66889f4885
@ -4,7 +4,7 @@
|
||||
],
|
||||
"cflags+": ["-Wno-cast-function-type"],
|
||||
"include_dirs+": ["<!(node -e \"require('nan')\")"],
|
||||
+ "libraries": ["/usr/lib/gcc/x86_64-redhat-linux/8/libstdc++fs.a"],
|
||||
+ "libraries": ["/usr/lib/gcc/x86_64-redhat-linux/4.8.2/32/libstdc++.a"],
|
||||
"dependencies": ["libargon2"],
|
||||
"configurations": {
|
||||
"Debug": {
|
||||
|
@ -26,7 +26,7 @@ BINDINGGYP='node_modules/argon2/binding.gyp'
|
||||
|
||||
NODE_VER='v16'
|
||||
|
||||
if [ ! -f /usr/lib/gcc/x86_64-redhat-linux/8/libstdc++fs.a ]; then
|
||||
if [ ! -f /usr/lib/gcc/x86_64-redhat-linux/4.8.2/32/libstdc++.a ]; then
|
||||
echo "You must install libstdc++-static"
|
||||
exit 1
|
||||
fi
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ztncui",
|
||||
"version": "0.8.13",
|
||||
"version": "0.8.14",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node ./bin/www",
|
||||
|
Loading…
Reference in New Issue
Block a user