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:
@@ -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": {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user