Build for older versions of glibc
This commit is contained in:
@@ -554,7 +554,6 @@ void RPC::getInfoThenRefresh(bool force) {
|
|||||||
// Update zcashd tab if it exists
|
// Update zcashd tab if it exists
|
||||||
if (ezcashd) {
|
if (ezcashd) {
|
||||||
if (isSyncing) {
|
if (isSyncing) {
|
||||||
const qint64 genisisTimeMSec = 1477638000000;
|
|
||||||
QString txt = QString::number(blockNumber);
|
QString txt = QString::number(blockNumber);
|
||||||
if (estimatedheight > 0) {
|
if (estimatedheight > 0) {
|
||||||
txt = txt % " / ~" % QString::number(estimatedheight);
|
txt = txt % " / ~" % QString::number(estimatedheight);
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ if [ -z $QT_STATIC ]; then
|
|||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z $MXE_PATH ]; then echo "MXE_PATH is not set. Set it to ~/github/mxe/usr/bin"; exit 1; fi
|
|
||||||
if [ -z $APP_VERSION ]; then echo "APP_VERSION is not set"; exit 1; fi
|
if [ -z $APP_VERSION ]; then echo "APP_VERSION is not set"; exit 1; fi
|
||||||
if [ -z $PREV_VERSION ]; then echo "PREV_VERSION is not set"; exit 1; fi
|
if [ -z $PREV_VERSION ]; then echo "PREV_VERSION is not set"; exit 1; fi
|
||||||
|
|
||||||
@@ -20,18 +19,6 @@ if [ ! -f ../zcash/artifacts/zcash-cli ]; then
|
|||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ ! -f ../zcash/artifacts/zcashd.exe ]; then
|
|
||||||
echo "Couldn't find zcashd.exe in ../zcash/artifacts/. Please build zcashd.exe"
|
|
||||||
exit 1;
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [ ! -f ../zcash/artifacts/zcash-cli.exe ]; then
|
|
||||||
echo "Couldn't find zcash-cli.exe in ../zcash/artifacts/. Please build zcashd.exe"
|
|
||||||
exit 1;
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo -n "Version files....."
|
echo -n "Version files....."
|
||||||
# Replace the version number in the .pro file so it gets picked up everywhere
|
# Replace the version number in the .pro file so it gets picked up everywhere
|
||||||
sed -i "s/${PREV_VERSION}/${APP_VERSION}/g" zec-qt-wallet.pro > /dev/null
|
sed -i "s/${PREV_VERSION}/${APP_VERSION}/g" zec-qt-wallet.pro > /dev/null
|
||||||
@@ -99,8 +86,28 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "[Windows]"
|
echo "[Windows]"
|
||||||
|
|
||||||
|
if [ -z $MXE_PATH ]; then
|
||||||
|
echo "MXE_PATH is not set. Set it to ~/github/mxe/usr/bin if you want to build Windows"
|
||||||
|
echo "Not building Windows"
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f ../zcash/artifacts/zcashd.exe ]; then
|
||||||
|
echo "Couldn't find zcashd.exe in ../zcash/artifacts/. Please build zcashd.exe"
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ ! -f ../zcash/artifacts/zcash-cli.exe ]; then
|
||||||
|
echo "Couldn't find zcash-cli.exe in ../zcash/artifacts/. Please build zcashd.exe"
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
export PATH=$MXE_PATH:$PATH
|
export PATH=$MXE_PATH:$PATH
|
||||||
|
|
||||||
echo -n "Configuring......."
|
echo -n "Configuring......."
|
||||||
|
|||||||
Reference in New Issue
Block a user