From 21af2f2f6246565563b4c84059e0d1940b0b662d Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 13 Oct 2019 10:47:44 +0200 Subject: libwg-go: overwrite socket directory correctly Signed-off-by: Jason A. Donenfeld --- app/tools/libwg-go/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/tools/libwg-go') diff --git a/app/tools/libwg-go/Makefile b/app/tools/libwg-go/Makefile index 88e7260c..b728ffb0 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 main.socketDirectory=/data/data/$(ANDROID_PACKAGE_NAME)/cache/wireguard" -v -trimpath -o "$@" -buildmode c-shared + go build -tags linux -ldflags="-X ipc.socketDirectory=/data/data/$(ANDROID_PACKAGE_NAME)/cache/wireguard" -v -trimpath -o "$@" -buildmode c-shared -- cgit v1.2.3