diff options
author | Ruben Pollan <meskio@sindominio.net> | 2018-07-10 20:25:11 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2018-07-10 20:25:11 +0200 |
commit | 7ba2661b02b934c87626b0e142a8903d7c74732b (patch) | |
tree | 8804bd1152c937e1b9a24bf2aad3a1bd168d8dd8 /Makefile | |
parent | 5c85cdb28130eeced1d86c0228d70646ec9ca0a3 (diff) |
[pkg] cross fetch windows openvpn
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -24,6 +24,14 @@ openvpn_win: 7z e -y -r -ostaging/openvpn/ staging/openvpn/openvpn.tar *.exe copy .\staging\openvpn\openvpn.exe .\staging copy .\staging\openvpn\*.dll .\staging +openvpn_cross_win: + mkdir -p staging/openvpn + wget https://build.openvpn.net/downloads/releases/latest/tap-windows-latest-stable.exe -O $(STAGING)/openvpn/tap-windows.exe + wget https://downloads.leap.se/thirdparty/windows/openvpn-x86_64-w64-mingw32.tar.bz2 -O $(STAGING)/openvpn/openvpn.tar.bz2 + tar xvjf $(STAGING)/openvpn/openvpn.tar.bz2 -C $(STAGING)/openvpn/ + cp $(STAGING)/openvpn/bin/openvpn.exe $(STAGING)/openvpn + cp $(STAGING)/openvpn/bin/*.dll $(STAGING) + cp $(STAGING)/openvpn/lib/engines-1_1/*.dll $(STAGING) helper_win: go build -ldflags "-s -w" -o $(STAGING)/$(HELPER_BIN).exe ./helper upx $(STAGING)/$(HELPER_BIN).exe |