From 21801cf6d04a3ab849afffeb999cc5a2e00fd26c Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" <kali@leap.se> Date: Wed, 14 Apr 2021 17:25:02 +0200 Subject: [PATCH] [pkg] skip bitmask-helper build in linux --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index ef086a9c..70ca3943 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 -- GitLab