summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-04-14 17:25:02 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-04-14 17:25:02 +0200
commit21801cf6d04a3ab849afffeb999cc5a2e00fd26c (patch)
tree41676cce73fa18db29c1845f355b13d20cf5c48e /Makefile
parent67a0eb7111d3f89e4a0cb21e43aefe6d87d37e04 (diff)
[pkg] skip bitmask-helper build in linux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ef086a9..70ca394 100644
--- a/Makefile
+++ b/Makefile
@@ -144,6 +144,9 @@ build_gui: relink_vendor
build: build_golib build_helper build_gui
build_helper:
+ifeq ($(PLATFORM), linux)
+# no helper needed for linux, we use polkit/bitmask-root
+else
@echo "=============BUILDER HELPER==========="
@echo "PLATFORM: ${PLATFORM}"
@echo "APPNAME: ${APPNAME}"
@@ -152,6 +155,7 @@ build_helper:
@mkdir -p build/bin/${PLATFORM}
@go build -o build/bin/${PLATFORM}/bitmask-helper -ldflags "-X main.AppName=${APPNAME} -X main.Version=${VERSION} ${EXTRA_GO_LDFLAGS}" ./cmd/bitmask-helper/
@echo "===========BUILDER HELPER============="
+endif
build_openvpn:
@[ -f $(OPENVPN_BIN) ] && echo "OpenVPN already built at" $(OPENVPN_BIN) || ./branding/thirdparty/openvpn/build_openvpn.sh