summaryrefslogtreecommitdiffhomepage
path: root/tunnel/tools/libwg-go/Makefile
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-02-03 17:37:42 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2022-03-18 23:30:46 +0100
commitf9160ae6c0aaa94b7d42e68265318d03caa1948e (patch)
tree8ed489e3b4e58be8b0e29e24d6860224ceb8c6ea /tunnel/tools/libwg-go/Makefile
parent4b6c4bdf7f18f64f335c9294f3f4393ea733b9a5 (diff)
dhcp 4o6 working
Diffstat (limited to 'tunnel/tools/libwg-go/Makefile')
-rw-r--r--tunnel/tools/libwg-go/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnel/tools/libwg-go/Makefile b/tunnel/tools/libwg-go/Makefile
index 1b5c60cf..f90b7ce0 100644
--- a/tunnel/tools/libwg-go/Makefile
+++ b/tunnel/tools/libwg-go/Makefile
@@ -46,7 +46,7 @@ $(BUILDDIR)/go-$(GO_VERSION)/.prepared: $(GRADLE_USER_HOME)/caches/golang/$(GO_T
touch "$@"'
$(DESTDIR)/libwg-go.so: export PATH := $(BUILDDIR)/go-$(GO_VERSION)/bin/:$(PATH)
-$(DESTDIR)/libwg-go.so: $(BUILDDIR)/go-$(GO_VERSION)/.prepared go.mod
+$(DESTDIR)/libwg-go.so: $(BUILDDIR)/go-$(GO_VERSION)/.prepared go.mod api-android.go
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
.DELETE_ON_ERROR: