summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkito <jkito@github>2022-10-24 13:34:33 +0530
committerkali kaneko (leap communications) <kali@leap.se>2022-11-08 21:38:17 +0100
commit6f56b8ae92ceadab2f0da3833165d191330af59a (patch)
tree5a12df1eeccb32aa0c174034ddd177e75ce1204e
parent99077aadd6ba7b142d380604f2328b63378b6fc3 (diff)
[pkg] build or download OpenVPN before attempting to build macOS installer
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d4a52a7..378881f 100644
--- a/Makefile
+++ b/Makefile
@@ -202,6 +202,7 @@ ifeq (${PLATFORM}, darwin)
@cp "${TEMPLATES}/qtinstaller/osx-data/post-install.py" ${INST_ROOT}/
@cp "${TEMPLATES}/qtinstaller/osx-data/uninstall.py" ${INST_ROOT}/
@cp "${TEMPLATES}/qtinstaller/osx-data/se.leap.bitmask-helper.plist" ${INST_DATA}
+ @[ -f $(OPENVPN_BIN) ] && echo "OpenVPN already built at" $(OPENVPN_BIN) || ./branding/thirdparty/openvpn/build_openvpn.sh
@cp $(OPENVPN_BIN) ${INST_DATA}/openvpn.leap
@cp build/bin/${PLATFORM}/bitmask-helper ${INST_DATA}/
ifeq (${RELEASE}, yes)