Fix Android client binary build mode
This commit is contained in:
1 parent
3c59ab01f7
commit
2d8fa61db3
1 file changed
-3
@@ -136,7 +136,6 @@ jobs:
|
|||||||
GOARCH=arm64 \
|
GOARCH=arm64 \
|
||||||
CC="$TOOLCHAIN/aarch64-linux-android${ANDROID_MIN_API}-clang" \
|
CC="$TOOLCHAIN/aarch64-linux-android${ANDROID_MIN_API}-clang" \
|
||||||
go build \
|
go build \
|
||||||
-buildmode=c-shared \
|
|
||||||
-trimpath \
|
-trimpath \
|
||||||
-ldflags="-s -w -checklinkname=0" \
|
-ldflags="-s -w -checklinkname=0" \
|
||||||
-o ../app/src/main/jniLibs/arm64-v8a/libclient.so \
|
-o ../app/src/main/jniLibs/arm64-v8a/libclient.so \
|
||||||
@@ -152,7 +151,6 @@ jobs:
|
|||||||
GOARM=7 \
|
GOARM=7 \
|
||||||
CC="$TOOLCHAIN/armv7a-linux-androideabi${ANDROID_MIN_API}-clang" \
|
CC="$TOOLCHAIN/armv7a-linux-androideabi${ANDROID_MIN_API}-clang" \
|
||||||
go build \
|
go build \
|
||||||
-buildmode=c-shared \
|
|
||||||
-trimpath \
|
-trimpath \
|
||||||
-ldflags="-s -w -checklinkname=0" \
|
-ldflags="-s -w -checklinkname=0" \
|
||||||
-o ../app/src/main/jniLibs/armeabi-v7a/libclient.so \
|
-o ../app/src/main/jniLibs/armeabi-v7a/libclient.so \
|
||||||
@@ -167,7 +165,6 @@ jobs:
|
|||||||
GOARCH=amd64 \
|
GOARCH=amd64 \
|
||||||
CC="$TOOLCHAIN/x86_64-linux-android${ANDROID_MIN_API}-clang" \
|
CC="$TOOLCHAIN/x86_64-linux-android${ANDROID_MIN_API}-clang" \
|
||||||
go build \
|
go build \
|
||||||
-buildmode=c-shared \
|
|
||||||
-trimpath \
|
-trimpath \
|
||||||
-ldflags="-s -w -checklinkname=0" \
|
-ldflags="-s -w -checklinkname=0" \
|
||||||
-o ../app/src/main/jniLibs/x86_64/libclient.so \
|
-o ../app/src/main/jniLibs/x86_64/libclient.so \
|
||||||
|
|||||||
Reference in new issue
Block a user