diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-10-13 10:47:44 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-10-13 14:09:40 +0200 |
commit | 18dbc21f96a86fb584294f485210e2085f0a54cc (patch) | |
tree | 17e71b3fd828faaef9693ec05e2f470be8c695e7 /app/tools | |
parent | 68d871c47c463441eead60ba355f686b24325b09 (diff) |
libwg-go: overwrite socket directory correctly
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/tools')
-rw-r--r-- | app/tools/libwg-go/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/tools/libwg-go/Makefile b/app/tools/libwg-go/Makefile index b728ffb0..cb241191 100644 --- a/app/tools/libwg-go/Makefile +++ b/app/tools/libwg-go/Makefile @@ -32,4 +32,4 @@ $(BUILDDIR)/go-$(DESIRED_GO_VERSION)/.prepared: $(DESTDIR)/libwg-go.so: export PATH := $(BUILDDIR)/go-$(DESIRED_GO_VERSION)/bin/:$(PATH) $(DESTDIR)/libwg-go.so: $(BUILDDIR)/go-$(DESIRED_GO_VERSION)/.prepared go.mod - go build -tags linux -ldflags="-X ipc.socketDirectory=/data/data/$(ANDROID_PACKAGE_NAME)/cache/wireguard" -v -trimpath -o "$@" -buildmode c-shared + go build -tags linux -ldflags="-X golang.zx2c4.com/wireguard/ipc.socketDirectory=/data/data/$(ANDROID_PACKAGE_NAME)/cache/wireguard" -v -trimpath -o "$@" -buildmode c-shared |