mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00
build fix
This commit is contained in:
parent
c32e5517f1
commit
bfe42d8899
1 changed files with 2 additions and 2 deletions
4
build
4
build
|
@ -34,13 +34,13 @@ if [ $IOS ]; then
|
|||
echo "Building framework for iOS"
|
||||
go get golang.org/x/mobile/bind
|
||||
gomobile bind -target ios -tags mobile -o Mesh.framework -ldflags="$LDFLAGS $STRIP" -gcflags="$GCFLAGS" \
|
||||
github.com/RiV-chain/mesh-extras/src/mobile \
|
||||
github.com/RiV-chain/RiV-mesh-extras/src/mobile \
|
||||
github.com/RiV-chain/RiV-mesh/src/config
|
||||
elif [ $ANDROID ]; then
|
||||
echo "Building aar for Android"
|
||||
go get golang.org/x/mobile/bind
|
||||
gomobile bind -target android -tags mobile -o mesh.aar -ldflags="$LDFLAGS $STRIP" -gcflags="$GCFLAGS" \
|
||||
github.com/RiV-chain/mesh-extras/src/mobile \
|
||||
github.com/RiV-chain/RiV-mesh-extras/src/mobile \
|
||||
github.com/RiV-chain/RiV-mesh/src/config
|
||||
else
|
||||
for CMD in mesh meshctl ; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue