WireGuardApp: Add back the wireguard-go version extraction script and use WIREGUARD_GO_VERSION directly

Avoids linking against libwg-go.a in order to access the WireGuard backend version.

Signed-off-by: Andrej Mihajlov <and@mullvad.net>
This commit is contained in:
Andrej Mihajlov committed 2020-12-04 09:39:05 +01:00
1 parent 9849dedf1d
commit 8976a53b05
5 files changed
+86 -8

No files matched your search

@@ -1,4 +1,4 @@
#include "../WireGuardKitC/WireGuardKitC.h"
#include "../WireGuardKitGo/wireguard.h"
#include "wireguard-go-version.h"
#include "ringlogger.h"