summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-09-15 00:48:33 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-09-25 12:33:43 +0200
commitb84dbb2d754f3e2b16aef44e0ee295eab4e51d5c (patch)
treeed7ed947d6b026923890788b0921b8a80426a1e1
parent436d0437a9bbc26ba71308f1f3930a4f6c77fa25 (diff)
[pkg] allow to pass qmake path
-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
}