summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 94f77b3..56b4c68 100755
--- a/build.sh
+++ b/build.sh
@@ -18,7 +18,10 @@ then
PATH="`pwd`/../mxe/usr/bin"/:$PATH
CC=x86_64-w64-mingw32.static-gcc
else
- QMAKE=`which qmake`
+ if [ "$QMAKE" == "" ]
+ then
+ QMAKE=`which qmake`
+ fi
fi
@@ -44,7 +47,7 @@ function buildGoLib {
function buildQmake {
echo "[+] Now building Qml app with Qt qmake"
- echo ">> using qmake:" $QMAKE
+ echo "[+] Using qmake in:" $QMAKE
mkdir -p qtbuild
$QMAKE -o qtbuild/Makefile "CONFIG-=debug CONFIG+=release" $PROJECT
}