Skip to content

Commit

Permalink
Build wireguard-go with daita
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 authored and albin-mullvad committed Aug 23, 2024
1 parent 901109f commit a669ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wireguard-go-rs/libwg/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $(DESTDIR)/libwg.so:
go get -tags "linux android daita"
chmod -fR +w "$(GOPATH)/pkg/mod"
# TODO: Adding the daita tag below seem to cause the build to fail.
go build -tags "linux android" -ldflags="-X main.socketDirectory=/data/data/$(ANDROID_PACKAGE_NAME)/cache/wireguard" -v -o "$@" -buildmode c-shared
go build -tags "linux android daita" -ldflags="-X main.socketDirectory=/data/data/$(ANDROID_PACKAGE_NAME)/cache/wireguard" -v -o "$@" -buildmode c-shared
rm -f $(DESTDIR)/libwg.h


Expand Down

0 comments on commit a669ea2

Please sign in to comment.