summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-03-19 23:27:29 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2020-05-14 21:48:02 +0200
commit80d1f2dbbe4f3b91691ebc35f49d02423ec8df3a (patch)
tree7adcc6bfd3d87b318cd570e8cc25698f394a92ca
parente62d9996f6b79487c55981c739ace41d9360f4a0 (diff)
WIP go mod edit
-rw-r--r--tunnel/tools/libwg-go/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tunnel/tools/libwg-go/Makefile b/tunnel/tools/libwg-go/Makefile
index 19e485cf..45b67a5c 100644
--- a/tunnel/tools/libwg-go/Makefile
+++ b/tunnel/tools/libwg-go/Makefile
@@ -33,4 +33,7 @@ $(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 api-android.go
# go env
+# go mod edit -replace="gvisor.dev/gvisor@v0.0.0-20200317232300-1cc5a71a0e21=golang.m7n.se/gvisor@v0.0.0-40f5d9cc44305fed7ed64cf1d2e26e4c360d2e0d"
+# go mod edit -replace="gvisor.dev/gvisor@v0.0.0-20200317232300-1cc5a71a0e21=golang.m7n.se/gvisor@40f5d9cc44305fed7ed64cf1d2e26e4c360d2e0d"
+# go mod edit -replace="github.com/insomniacslk/dhcp@v0.0.0=golang.m7n.se/insomniacslk-dhcp@b00f80a5a5d864ad3f72fb0a61eb6b9e26010a12"
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