Skip to content

Commit 17b4735

Browse files
committed
fix(ci)_: gomobile init android build
1 parent 316ed44 commit 17b4735

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ status-go-deps:
183183
statusgo-android: generate
184184
statusgo-android: ##@cross-compile Build status-go for Android
185185
@echo "Building status-go for Android..."
186-
export GO111MODULE=off; \
186+
mkdir -p build/bin \
187+
export GO111MODULE=on; \
188+
export GOFLAGS="-mod=mod" \
187189
gomobile init; \
188190
gomobile bind -v \
189191
-target=android -ldflags="-s -w" \

0 commit comments

Comments
 (0)