diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-04-14 17:25:02 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-04-14 17:25:02 +0200 |
commit | 21801cf6d04a3ab849afffeb999cc5a2e00fd26c (patch) | |
tree | 41676cce73fa18db29c1845f355b13d20cf5c48e /Makefile | |
parent | 67a0eb7111d3f89e4a0cb21e43aefe6d87d37e04 (diff) |
[pkg] skip bitmask-helper build in linux
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |