summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2018-07-03 02:05:35 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2018-07-03 02:05:35 +0200
commit70a00e619c193b54bc74cb4a007106917e877825 (patch)
tree4b55d2dc1e7448e0f323fadbc55a8b8bbc969d04 /README.txt
parentebe388f57a4f39748f4814b7d37544bcd8f76afc (diff)
[docs] document openvpn cross-compiling
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index a03338f..1fe47d8 100644
--- a/README.txt
+++ b/README.txt
@@ -14,7 +14,7 @@ Dependencies
* golang
* make
-* python (python3, for building scripts)
+* python (python3, for build scripts)
Dependencies (Windows)
------------------------
@@ -26,4 +26,15 @@ Building (Windows)
------------------------
make deps_win
+make openvpn_win
make build_win
+
+Cross-compiling openvpn for windows
+-----------------------------------
+
+# TODO - modify to build statically and with polarssl.
+
+apt install gcc-mingw-w64-x86-64
+git clone https://github.com/OpenVPN/openvpn-build
+cd openvpn-build/windows-nsis
+CHOST=x86_64-w64-mingw32 CBUILD=i686-pc-cygwin ./build