mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-22 10:44:46 +00:00
commit
99230e3ff1
1 changed files with 8 additions and 3 deletions
11
build.sh
11
build.sh
|
@ -48,11 +48,16 @@ ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
MONERO_DIR=monero
|
MONERO_DIR=monero
|
||||||
MONEROD_EXEC=monerod
|
MONEROD_EXEC=monerod
|
||||||
|
|
||||||
|
MAKE='make'
|
||||||
|
if [[ $platform == *bsd* ]]; then
|
||||||
|
MAKE='gmake'
|
||||||
|
fi
|
||||||
|
|
||||||
# build libwallet
|
# build libwallet
|
||||||
$SHELL get_libwallet_api.sh $BUILD_TYPE
|
$SHELL get_libwallet_api.sh $BUILD_TYPE
|
||||||
|
|
||||||
# build zxcvbn
|
# build zxcvbn
|
||||||
make -C src/zxcvbn-c
|
$MAKE -C src/zxcvbn-c || exit
|
||||||
|
|
||||||
if [ ! -d build ]; then mkdir build; fi
|
if [ ! -d build ]; then mkdir build; fi
|
||||||
|
|
||||||
|
@ -80,8 +85,8 @@ popd
|
||||||
echo "var GUI_MONERO_VERSION = \"$VERSIONTAG\"" >> version.js
|
echo "var GUI_MONERO_VERSION = \"$VERSIONTAG\"" >> version.js
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
qmake ../monero-wallet-gui.pro "$CONFIG"
|
qmake ../monero-wallet-gui.pro "$CONFIG" || exit
|
||||||
make
|
$MAKE || exit
|
||||||
|
|
||||||
# Copy monerod to bin folder
|
# Copy monerod to bin folder
|
||||||
if [ "$platform" != "mingw32" ] && [ "$ANDROID" != true ]; then
|
if [ "$platform" != "mingw32" ] && [ "$ANDROID" != true ]; then
|
||||||
|
|
Loading…
Reference in a new issue