mirror of https://github.com/status-im/go-waku.git
fix: get gomobile before building mobile targets
This commit is contained in:
parent
e7bc6799ed
commit
0525b1cbc7
2
Makefile
2
Makefile
|
@ -124,12 +124,14 @@ endif
|
|||
|
||||
mobile-android:
|
||||
gomobile init && \
|
||||
go get -d golang.org/x/mobile/cmd/gomobile && \
|
||||
gomobile bind -v -target=android -ldflags="-s -w" $(BUILD_FLAGS) -o ./build/lib/gowaku.aar ./mobile
|
||||
@echo "Android library built:"
|
||||
@ls -la ./build/lib/*.aar ./build/lib/*.jar
|
||||
|
||||
mobile-ios:
|
||||
gomobile init && \
|
||||
go get -d golang.org/x/mobile/cmd/gomobile && \
|
||||
gomobile bind -target=ios -ldflags="-s -w" -o ./build/lib/Gowaku.xcframework ./mobile
|
||||
@echo "IOS library built:"
|
||||
@ls -la ./build/lib/*.xcframework
|
||||
|
|
Loading…
Reference in New Issue