1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-29 09:05:11 +01:00

use gmake on bsd in build.sh

This commit is contained in:
pigeons 2017-02-02 13:11:33 -08:00
parent 43d5bd3e2d
commit 7ab3373335

View File

@ -48,11 +48,16 @@ ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
MONERO_DIR=monero
MONEROD_EXEC=monerod
MAKE='make'
if [[ $platform == *bsd* ]]; then
MAKE='gmake'
fi
# build libwallet
$SHELL get_libwallet_api.sh $BUILD_TYPE
# build zxcvbn
make -C src/zxcvbn-c
$MAKE -C src/zxcvbn-c || exit
if [ ! -d build ]; then mkdir build; fi
@ -80,8 +85,8 @@ popd
echo "var GUI_MONERO_VERSION = \"$VERSIONTAG\"" >> version.js
cd build
qmake ../monero-wallet-gui.pro "$CONFIG"
make
qmake ../monero-wallet-gui.pro "$CONFIG" || exit
$MAKE || exit
# Copy monerod to bin folder
if [ "$platform" != "mingw32" ] && [ "$ANDROID" != true ]; then