diff --git a/app/build.sh b/app/build.sh index 5232ca2..1b535ae 100644 --- a/app/build.sh +++ b/app/build.sh @@ -12,16 +12,16 @@ cd gost CC=$(find $ANDROID_NDK_ROOT | grep 'armv7a-linux-androideabi21-clang$') \ GOOS="android" GOARCH="arm" CGO_ENABLED="1" \ -go build -ldflags "-s -w" -a -o ../../src/main/jniLibs/armeabi-v7a/libgost-plugin.so . +go build -ldflags "-s -w" -a -o ../../src/main/jniLibs/armeabi-v7a/libgost-plugin.so ./cmd/gost CC=$(find $ANDROID_NDK_ROOT | grep 'aarch64-linux-android21-clang$') \ GOOS="android" GOARCH="arm64" CGO_ENABLED="1" \ -go build -ldflags "-s -w" -a -o ../../src/main/jniLibs/armeabi-v7a/libgost-plugin.so . +go build -ldflags "-s -w" -a -o ../../src/main/jniLibs/arm64-v8a/libgost-plugin.so ./cmd/gost CC=$(find $ANDROID_NDK_ROOT | grep 'i686-linux-android21-clang$') \ GOOS="android" GOARCH="386" CGO_ENABLED="1" \ -go build -ldflags "-s -w" -a -o ../../src/main/jniLibs/armeabi-v7a/libgost-plugin.so . +go build -ldflags "-s -w" -a -o ../../src/main/jniLibs/x86/libgost-plugin.so ./cmd/gost CC=$(find $ANDROID_NDK_ROOT | grep 'x86_64-linux-android21-clang$') \ GOOS="android" GOARCH="amd64" CGO_ENABLED="1" \ -go build -ldflags "-s -w" -a -o ../../src/main/jniLibs/armeabi-v7a/libgost-plugin.so . \ No newline at end of file +go build -ldflags "-s -w" -a -o ../../src/main/jniLibs/x86_64/libgost-plugin.so ./cmd/gost \ No newline at end of file