Update dendrite-pinecone gobindings build script

This commit is contained in:
Devon Hudson 2023-02-03 09:05:57 -07:00
parent baf118b08c
commit 26f86a76b6
No known key found for this signature in database
GPG Key ID: CD06B18E77F6A628

2
build/gobind-pinecone/build.sh Normal file → Executable file
View File

@ -7,7 +7,7 @@ do
case "$option"
in
a) gomobile bind -v -target android -trimpath -ldflags="-s -w" github.com/matrix-org/dendrite/build/gobind-pinecone ;;
i) gomobile bind -v -target ios -trimpath -ldflags="" github.com/matrix-org/dendrite/build/gobind-pinecone ;;
i) gomobile bind -v -target ios -trimpath -ldflags="" -o ~/DendriteBindings/Gobind.xcframework . ;;
*) echo "No target specified, specify -a or -i"; exit 1 ;;
esac
done