aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/VPN/PacketTunnelOptionsGenerator.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-10-27 15:31:32 +0530
committerRoopesh Chander <roop@roopc.net>2018-10-27 19:07:16 +0530
commita08e08fe2e1e7418943e5796f52056075fb14dab (patch)
treee3f59f0a391944210ed09f7062fa4bf0fdbdb13f /WireGuard/WireGuard/VPN/PacketTunnelOptionsGenerator.swift
parentVPN: Fix DNS resolution API (diff)
downloadwireguard-apple-a08e08fe2e1e7418943e5796f52056075fb14dab.tar.xz
wireguard-apple-a08e08fe2e1e7418943e5796f52056075fb14dab.zip
Xcode: Make Xcode build libwg-go.a automatically
This is based on Jeroen Leenarts' work (commit a3cdb84) and Jason Donenfeld's work (commit 9d01829). To reproduce: In Xcode, add a new target called 'WireGuardGoBridge' with the Cross-platform > External build system template. Configure that target with the 'make' build tool and ask it to build on the wireguard-go-bridge directory. The Makefile in wireguard-go-bridge is already configured to handle being called from Xcode as an external build system. In WireGuardNetworkExtension's build phases, add a dependancy to WireGuardGoBridge, and ask it to link to libwg-go.a (the make command shall generate this archive). Add libwg-go.a as a library to be linked with. Edit the Xcode pbxproj file and in the file reference entry for libwg-go.a, set path as "libwg-go.a" and sourceTree as BUILT_PRODUCTS_DIR. Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/VPN/PacketTunnelOptionsGenerator.swift')
0 files changed, 0 insertions, 0 deletions