From 7ab337333541ce02f19933f5eff226ae976104e9 Mon Sep 17 00:00:00 2001 From: pigeons Date: Thu, 2 Feb 2017 13:11:33 -0800 Subject: [PATCH] use gmake on bsd in build.sh --- build.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 07be08c8..b1749b7d 100755 --- a/build.sh +++ b/build.sh @@ -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