summaryrefslogtreecommitdiff
path: root/gui/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gui/build.sh')
-rwxr-xr-xgui/build.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/gui/build.sh b/gui/build.sh
index 8b336fa..deb73a1 100755
--- a/gui/build.sh
+++ b/gui/build.sh
@@ -1,6 +1,9 @@
#!/bin/bash
set -e
-set -x
+
+# DEBUG --------------
+# set -x
+# --------------------
XBUILD=${XBUILD-no}
OSX_TARGET=10.11
@@ -13,6 +16,7 @@ SOURCE_GOLIB=gui/backend.go
QTBUILD=build/qt
RELEASE=$QTBUILD/release
+VENDOR_PATH=${VENDOR_PATH-providers/riseup}
PLATFORM=$(uname -s)
LDFLAGS=""
@@ -72,8 +76,9 @@ function buildGoLib {
function buildQmake {
echo "[+] Now building Qml app with Qt qmake"
echo "[+] Using qmake in:" $QMAKE
+ echo "[+] VENDOR_PATH:" $VENDOR_PATH
mkdir -p $QTBUILD
- $QMAKE -o $QTBUILD/Makefile "CONFIG-=debug CONFIG+=release" $PROJECT
+ $QMAKE -o $QTBUILD/Makefile "CONFIG-=debug CONFIG+=release VENDOR_PATH=${VENDOR_PATH}" $PROJECT
}
function renameOutput {