8
0
mirror of https://github.com/key-networks/ztncui.git synced 2024-08-31 04:28:00 +00:00

issue7: Cannot read property active of undefined

This commit is contained in:
Key Networks
2018-07-07 11:55:17 +08:00
parent b49cd75b1d
commit 383c156248
6 changed files with 52 additions and 3720 deletions

View File

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

View File

@@ -22,11 +22,21 @@ LICENSE='GPLv3'
BINDINGGYP='node_modules/argon2/binding.gyp'
if [ ! -f /usr/lib/gcc/x86_64-redhat-linux/7/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
if [ ! -f /usr/bin/rpmbuild ]; then
echo "You must install rpm-build"
exit 1
fi
if [ ! -f /usr/bin/rpmsign ]; then
echo "You must install rpm-sign"
exit 1
fi
rm -fr $STAGING_DIR && mkdir $STAGING_DIR
rm -fr $PKG_DIR && mkdir $PKG_DIR