centos7: Atcual path for libstdc++.a

This commit is contained in:
Key Networks 2023-03-12 17:54:19 +08:00
parent 66889f4885
commit e6766b8448
2 changed files with 2 additions and 2 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/4.8.2/32/libstdc++.a"], + "libraries": ["/usr/lib/gcc/x86_64-redhat-linux/4.8.2/libstdc++.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/4.8.2/32/libstdc++.a ]; then if [ ! -f /usr/lib/gcc/x86_64-redhat-linux/4.8.2/libstdc++.a ]; then
echo "You must install libstdc++-static" echo "You must install libstdc++-static"
exit 1 exit 1
fi fi